feat: publish sanitized custom.97 source

This commit is contained in:
cneicy committed 2026-10-27 20:43:39 +08:00
1 parent 8e6ed0317b
commit 86c0276156
1022 files changed
+69903 -19207

No files matched your search

+1 -2
View File
@@ -2,7 +2,6 @@ package model
import (
"errors"
"fmt"
"github.com/QuantumNous/new-api/common"
"github.com/shopspring/decimal"
@@ -80,7 +79,7 @@ func AdjustUserQuota(userID, operatorRole int, mode string, value int) (*UserQuo
delta := int64(adjustment.After) - int64(adjustment.Before)
if delta != 0 {
if err := cacheIncrUserQuota(userID, delta); err != nil {
common.SysError(fmt.Sprintf("failed to sync manual quota adjustment for user %d: %s", userID, err))
common.SysError(common.LogText("failed to sync manual quota adjustment for user %d: %s", userID, err))
}
}
return &adjustment, nil