From 597b8c9087a5a3cc5cc1b2e457061a90aa99aa4f Mon Sep 17 00:00:00 2001 From: DongYoung Kim Date: Fri, 6 Sep 2024 15:36:47 +0900 Subject: [PATCH] Comment response invalidCredentials status has changed from 400 to 401 (#4866) Signed-off-by: DongYoung Kim --- chaoscenter/authentication/api/handlers/rest/user_handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaoscenter/authentication/api/handlers/rest/user_handlers.go b/chaoscenter/authentication/api/handlers/rest/user_handlers.go index 3d81dc22d54..904969f16ab 100644 --- a/chaoscenter/authentication/api/handlers/rest/user_handlers.go +++ b/chaoscenter/authentication/api/handlers/rest/user_handlers.go @@ -263,7 +263,7 @@ func InviteUsers(service services.ApplicationService) gin.HandlerFunc { // @Failure 400 {object} response.ErrInvalidRequest // @Failure 400 {object} response.ErrUserNotFound // @Failure 400 {object} response.ErrUserDeactivated -// @Failure 400 {object} response.ErrInvalidCredentials +// @Failure 401 {object} response.ErrInvalidCredentials // @Failure 500 {object} response.ErrServerError // @Success 200 {object} response.LoginResponse{} // @Router /login [post]