From 18628f2f5ea409d5b7d41e3a8ca49fe632097ced Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Mon, 21 Jun 2021 21:31:06 +0930 Subject: [PATCH] fix: 200 === OK --- app/mothership/custom-socket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mothership/custom-socket.ts b/app/mothership/custom-socket.ts index 93b409173..7d68005e5 100644 --- a/app/mothership/custom-socket.ts +++ b/app/mothership/custom-socket.ts @@ -167,7 +167,7 @@ export class CustomSocket { // Fallback to a "ok" disconnect // 4200 === ok this.logger.error('Disconnect with code=%s reason=%s', code, 'OK'); - this.connection.close(4200, '{"message":"OK"}'); + this.connection.close(4200, 'OK'); } catch (error: unknown) { this.logger.error('Failed disconnecting code=%s reason=%s', code, (error as Error).message); } finally {