mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
center: fix null check
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -84,7 +84,7 @@ class DataReportHandler extends Handler {
|
||||
}
|
||||
this.ctx.emit('center/report', this, installId, old, payload);
|
||||
// TODO deliver messages
|
||||
this.response.body = { code: 0, u: lt(payload.version, old.version) };
|
||||
this.response.body = { code: 0 };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/center",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"main": "index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
|
||||
Reference in new issue
Block a user