mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-03 15:30:50 +02:00
83bdfc2a57
Fix #34349 By the way, remove `(ctx *APIContext) HasAPIError() ` and `(ctx *APIContext) GetErrMsg()` because they do nothing, the error handling has been done in API's middeware The existing OAuth2 tests were not quite right, refactored them together