refactor(api): 删掉没有调用方的 QuotaAvailable,修正 passkey last_used_at 的过时注释

This commit is contained in:
Lemon-miaow committed 2026-09-27 14:20:20 +08:00
1 parent 4839d52f88
commit 56a4bbcf4c
5 files changed
+9 -45

No files matched your search

+2 -1
View File
@@ -80,7 +80,8 @@ sequenceDiagram
API-->>Panel: 412 not_linked
else linked
Repo-->>API: true
API->>Repo: QuotaAvailable(user_id)
API->>Repo: QuotaCheck(user_id, the server's real size)
Note over API,Repo: all four caps: servers, CPU, memory, storage
alt quota exhausted
Repo-->>API: false
API-->>Panel: 403 quota_exceeded