fix: fix token create
Some checks are pending
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Waiting to run
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Waiting to run

This commit is contained in:
JustSong 2024-04-04 11:18:21 +08:00
parent 8b9fa3d6e4
commit ed70881a58

View File

@ -130,6 +130,7 @@ func AddToken(c *gin.Context) {
ExpiredTime: token.ExpiredTime,
RemainQuota: token.RemainQuota,
UnlimitedQuota: token.UnlimitedQuota,
Models: token.Models,
}
err = cleanToken.Insert()
if err != nil {