fix: token model limit
This commit is contained in:
1 parent
5eaa5bf050
commit
287fea5e4d
1 file changed
+2
@@ -132,6 +132,8 @@ func AddToken(c *gin.Context) {
|
||||
ExpiredTime: token.ExpiredTime,
|
||||
RemainQuota: token.RemainQuota,
|
||||
UnlimitedQuota: token.UnlimitedQuota,
|
||||
ModelLimitsEnabled: token.ModelLimitsEnabled,
|
||||
ModelLimits: token.ModelLimits,
|
||||
}
|
||||
err = cleanToken.Insert()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user