Return a result on success
This commit is contained in:
@@ -80,6 +80,11 @@ func Update(c *gin.Context) {
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, common.Response{
|
||||
Status: "OK",
|
||||
Message: "Success!",
|
||||
})
|
||||
tx.Commit(c)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user