githaven-fork/routers/api/v1
Lunny Xiao 1fc1d60517
Fix delete nonexist oauth application 500 and prevent deadlock (#15384)
* Fix delete nonexist oauth application 500

* Fix test

* Close the session

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update integrations/api_oauth2_apps_test.go

* Fix more missed sess.Close

* Remove unnecessary blank line

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
2021-04-10 16:49:10 -04:00
..
admin [refactor] mailer service (#15072) 2021-04-02 11:25:13 +01:00
misc Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
notify move notification APIFormat (#13783) 2020-12-02 09:24:35 +00:00
org Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
repo Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
settings Export LFS & TimeTracking function status (#14753) 2021-02-20 11:17:51 +01:00
swagger Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
user Fix delete nonexist oauth application 500 and prevent deadlock (#15384) 2021-04-10 16:49:10 -04:00
utils Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
api.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00