mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix connection event push
This commit is contained in:
3 files changed
+28
-26
No files matched your search
@@ -45,12 +45,6 @@ class WebsocketEventsConnectionManagerHandler extends ConnectionHandler {
|
||||
}
|
||||
|
||||
async message(payload: any) {
|
||||
try {
|
||||
payload = JSON.parse(payload);
|
||||
} catch (e) {
|
||||
console.error('Invalid payload', e);
|
||||
return;
|
||||
}
|
||||
const success = [];
|
||||
const failed = [];
|
||||
const session = payload?.credential
|
||||
|
||||
Reference in new issue
Block a user