bump ver,system.get更换为同步操作

This commit is contained in:
undefined committed 2020-09-26 18:39:15 +08:00
1 parent 99b7d33157
commit 03d199fe9d
19 files changed
+100 -111

No files matched your search

+1 -1
View File
@@ -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;
}