Return a result on success

This commit is contained in:
2022-08-06 20:58:35 +02:00
parent fbe06dc562
commit 3c08bcd579

View File

@@ -80,6 +80,11 @@ func Update(c *gin.Context) {
}) })
return return
} }
c.JSON(http.StatusOK, common.Response{
Status: "OK",
Message: "Success!",
})
tx.Commit(c) tx.Commit(c)
} }