Skip to content

Commit

Permalink
Merge pull request #38 from gen-mind/develop
Browse files Browse the repository at this point in the history
test
  • Loading branch information
apaladiychuk authored Apr 17, 2024
2 parents ba1aaa1 + 772f760 commit a005c6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/api/handler/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ func (h *AuthHandler) SignIn(c *gin.Context) error {
if err != nil {
return err
}
c.Redirect(http.StatusFound, url)
return nil
return server.JsonResult(c, http.StatusOK, url)
}

func (h *AuthHandler) RefreshToken(c *gin.Context) error {
Expand Down

0 comments on commit a005c6a

Please sign in to comment.