diff --git a/src/connection/sqlJob.ts b/src/connection/sqlJob.ts index c582f4c3..cef005f0 100644 --- a/src/connection/sqlJob.ts +++ b/src/connection/sqlJob.ts @@ -73,7 +73,12 @@ export class OldSQLJob extends SQLJob { outString = ``; if (this.isTracingChannelData) ServerComponent.writeOutput(thisMsg); try { - let response: ServerResponse = JSON.parse(thisMsg); + let response: ServerResponse = JSON.parse(thisMsg, (_key, value, context) => { + if (typeof value === 'number' && ('' + value !== context.source)) { + return context.source; + } + return value; + }); this.responseEmitter.emit(response.id, response); } catch (e: any) { console.log(`Error: ` + e);