fix: fix token create
This commit is contained in:
parent
8b9fa3d6e4
commit
ed70881a58
@ -130,6 +130,7 @@ func AddToken(c *gin.Context) {
|
||||
ExpiredTime: token.ExpiredTime,
|
||||
RemainQuota: token.RemainQuota,
|
||||
UnlimitedQuota: token.UnlimitedQuota,
|
||||
Models: token.Models,
|
||||
}
|
||||
err = cleanToken.Insert()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user