mirror of
https://github.com/unraid/api.git
synced 2026-01-09 18:20:12 -06:00
fix: 200 === OK
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user