From 1d0718af051de850c910f87d6c1b0db85a8ee4de Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 6 Apr 2023 17:34:23 -0400 Subject: [PATCH] *Pass socket id --- src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 3aaef0d..be99fa5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -255,7 +255,11 @@ export class Socket extends Client { } public async syncProtomux(action: string, id: number) { - return this.callModuleReturn("syncProtomux", { action, data: id }); + return this.callModuleReturn("syncProtomux", { + id: this.id, + action, + data: id, + }); } }