Sfoglia il codice sorgente

feat(token): add CrossGroupRetry field to token insertion

CaIon 2 mesi fa
parent
commit
b602843ce1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      controller/token.go

+ 1 - 0
controller/token.go

@@ -171,6 +171,7 @@ func AddToken(c *gin.Context) {
 		ModelLimits:        token.ModelLimits,
 		AllowIps:           token.AllowIps,
 		Group:              token.Group,
+		CrossGroupRetry:    token.CrossGroupRetry,
 	}
 	err = cleanToken.Insert()
 	if err != nil {