mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
token refresh failure is unprocessable and error is not ours
This commit is contained in:
parent
7a89d5503c
commit
bc5acffcbe
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func (app *application) upsertAccountHandler(w http.ResponseWriter, r *http.Requ
|
|||
app.logger.WithFields(logrus.Fields{
|
||||
"err": err,
|
||||
}).Info("failed to refresh token")
|
||||
app.errorResponse(w, r, 500, err.Error())
|
||||
app.errorResponse(w, r, 422, err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue