Auth: Add missing 404 status code from the SSO Settings delete endpoint (#79982)

add missing 404 status code from sso settings delete endpoint
This commit is contained in:
Mihai Doarna
2024-01-03 16:05:11 +02:00
committed by GitHub
parent 7be8301a26
commit c219a19f97
3 changed files with 7 additions and 0 deletions

View File

@@ -153,6 +153,7 @@ func (api *Api) updateProviderSettings(c *contextmodel.ReqContext) response.Resp
// 400: badRequestError
// 401: unauthorisedError
// 403: forbiddenError
// 404: notFoundError
// 500: internalServerError
func (api *Api) removeProviderSettings(c *contextmodel.ReqContext) response.Response {
key, ok := web.Params(c.Req)[":key"]