up
This commit is contained in:
@@ -90,7 +90,7 @@ func (a Api) ResetToken(c *gin.Context) {
|
||||
dto.Fail(c, http.StatusNotFound, "token not found")
|
||||
return
|
||||
}
|
||||
token.UsedQuota = utils.ToPtr(int64(0))
|
||||
token.UsedQuota = utils.ToPtr(float64(0))
|
||||
|
||||
err = a.tokenService.UpdateToken(c, token)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user