mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
bump ver,system.get更换为同步操作
This commit is contained in:
1 parent
99b7d33157
commit
03d199fe9d
19 files changed
+100
-111
No files matched your search
@@ -26,7 +26,7 @@ class FileDownloadHandler extends Handler {
|
||||
|
||||
class FileUploadHandler extends Handler {
|
||||
async getQuota() {
|
||||
let quota = await system.get('user.quota');
|
||||
let quota = system.get('user.quota');
|
||||
if (this.user.hasPriv(PRIV.PRIV_UNLIMITED_QUOTA)) {
|
||||
quota = 2 ** 63 - 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user