mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: bug fix
This commit is contained in:
1 parent
273a0563b3
commit
60820a3e5f
7 files changed
+15
-12
No files matched your search
@@ -17,7 +17,7 @@
|
||||
"@aws-sdk/middleware-endpoint": "^3.212.0",
|
||||
"@aws-sdk/s3-presigned-post": "^3.212.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.212.0",
|
||||
"@graphql-tools/schema": "^8.5.1",
|
||||
"@graphql-tools/schema": "^9.0.10",
|
||||
"@hydrooj/utils": "workspace:*",
|
||||
"adm-zip": "0.5.5",
|
||||
"cac": "^6.7.14",
|
||||
@@ -27,7 +27,7 @@
|
||||
"emojis-list": "2.1.0",
|
||||
"fs-extra": "^10.1.0",
|
||||
"graphql": "^16.6.0",
|
||||
"graphql-scalars": "1.18.0",
|
||||
"graphql-scalars": "1.20.1",
|
||||
"isbinaryfile": "^5.0.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"koa": "^2.13.4",
|
||||
|
||||
@@ -346,7 +346,7 @@ class RecordDetailConnectionHandler extends ConnectionHandler {
|
||||
if (!problem.canViewBy(pdoc, this.user)) throw new PermissionError(PERM.PERM_VIEW_PROBLEM_HIDDEN);
|
||||
}
|
||||
|
||||
this.throttleSend = throttle(this.send, 1000);
|
||||
this.throttleSend = throttle(this.sendUpdate, 1000);
|
||||
this.rid = rid.toString();
|
||||
this.cleanup = bus.on('record/change', this.onRecordChange.bind(this));
|
||||
this.onRecordChange(rdoc);
|
||||
|
||||
Reference in new issue
Block a user