fix: /logout routes; improved error handling for invites

This commit is contained in:
2026-09-01 15:28:18 +02:00
parent 4b703b077c
commit b35dc4841f
6 changed files with 35 additions and 4 deletions
+1
View File
@@ -89,6 +89,7 @@ func (h *AuthHandler) Refresh(w http.ResponseWriter, r *http.Request) {
// @Tags Authorization
// @Accept json
// @Produce json
// @Param payload body request.LogoutPayload true "Logout payload"
// @Success 200 {object} nil
// @Error 400 {object} response.ErrorResponse "failed to decode request body"
// @Error 500 {object} response.ErrorResponse "failed to logout"