Skip to content

Commit

Permalink
Merge pull request #25 from daystram/dev
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
daystram authored Jan 15, 2021
2 parents e374bae + a475e28 commit 4ec3883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ratify-be/controllers/oauth/authorize.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func POSTLogout(c *gin.Context) {
var err error
// fetch request info
var logoutRequest datatransfers.LogoutRequest
if err = c.ShouldBindJSON(&logoutRequest); err != nil {
if err = c.ShouldBind(&logoutRequest); err != nil {
c.JSON(http.StatusBadRequest, datatransfers.APIResponse{Error: err.Error()})
return
}
Expand Down

0 comments on commit 4ec3883

Please sign in to comment.