fix(web): OAuth quota size (#18526)

fix(server): oauth quota size
This commit is contained in:
Daimolean
2025-06-13 22:57:29 +08:00
committed by GitHub
parent e2dfbd66c3
commit 004c2f2496
12 changed files with 24 additions and 16 deletions

View File

@@ -300,7 +300,7 @@ export class AuthService extends BaseService {
name: userName,
email: profile.email,
oauthId: profile.sub,
quotaSizeInBytes: storageQuota * HumanReadableSize.GiB || null,
quotaSizeInBytes: storageQuota === null ? null : storageQuota * HumanReadableSize.GiB,
storageLabel: storageLabel || null,
});
}