fix: model creation issue
This commit is contained in:
parent
455643e317
commit
8cc7f983e1
@ -126,6 +126,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