forgejo/routers/api/v1
Lunny Xiao 1fc1d60517
Fix delete nonexist oauth application 500 and prevent deadlock ()
* 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 () 2021-04-02 11:25:13 +01:00
misc
notify
org Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
repo Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
settings Export LFS & TimeTracking function status () 2021-02-20 11:17:51 +01:00
swagger Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00
user Fix delete nonexist oauth application 500 and prevent deadlock () 2021-04-10 16:49:10 -04:00
utils Migrate to use jsoniter instead of encoding/json () 2021-03-01 22:08:10 +01:00
api.go Move modules/forms to services/forms () 2021-04-06 20:44:05 +01:00