Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
elhmn committed May 23, 2023
1 parent 45c8674 commit 1a7df62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/internal/handlers/pay_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,11 @@ func PostPay(c *gin.Context) {
return
}

//parse query.JobOfferID to an int64
jobOfferID, err := strconv.ParseInt(query.JobOfferID, 10, 64)
if err != nil {
log.Error(err)
c.JSON(http.StatusInternalServerError,
gin.H{"error": "failed to parse JobOfferID"})
gin.H{"error": "failed to parse job offer id"})
return
}

Expand Down

0 comments on commit 1a7df62

Please sign in to comment.