Skip to content

Commit

Permalink
🐛 fux statusCode
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Sep 24, 2023
1 parent 0da1b58 commit aeaff4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (h *Handlers) HandleCreateToken(c echo.Context) error {
return internalServerError(err)
}

return c.JSON(http.StatusOK, presentation.CreateTokenRes{
return c.JSON(http.StatusCreated, presentation.CreateTokenRes{
Token: signedToken,
})
}

0 comments on commit aeaff4c

Please sign in to comment.