mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 08:58:37 +00:00
feat(token): add CrossGroupRetry field to token insertion
This commit is contained in:
@@ -171,6 +171,7 @@ func AddToken(c *gin.Context) {
|
|||||||
ModelLimits: token.ModelLimits,
|
ModelLimits: token.ModelLimits,
|
||||||
AllowIps: token.AllowIps,
|
AllowIps: token.AllowIps,
|
||||||
Group: token.Group,
|
Group: token.Group,
|
||||||
|
CrossGroupRetry: token.CrossGroupRetry,
|
||||||
}
|
}
|
||||||
err = cleanToken.Insert()
|
err = cleanToken.Insert()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user