fix: model creation issue

This commit is contained in:
ckt1031 2023-07-14 23:53:23 +08:00
parent 455643e317
commit 8cc7f983e1

View File

@ -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 {