mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-04-03 06:52:13 +08:00
fix copilot review issue
This commit is contained in:
@@ -1151,6 +1151,7 @@ const handleResetQuota = (subscription: UserSubscription) => {
|
||||
|
||||
const confirmResetQuota = async () => {
|
||||
if (!resettingSubscription.value) return
|
||||
if (resettingQuota.value) return
|
||||
resettingQuota.value = true
|
||||
try {
|
||||
await adminAPI.subscriptions.resetQuota(resettingSubscription.value.id, { daily: true, weekly: true })
|
||||
|
||||
Reference in New Issue
Block a user