From edded4f9a9a52ac7b038395e98e97afc53b7788f Mon Sep 17 00:00:00 2001 From: Emmanuel Quentin Date: Mon, 2 Oct 2023 12:53:09 -0400 Subject: [PATCH] Add engineUuid in Session.toJSON to be backward compatible --- src/domain/Session.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/domain/Session.ts b/src/domain/Session.ts index ae3e5597..5176c99f 100644 --- a/src/domain/Session.ts +++ b/src/domain/Session.ts @@ -276,4 +276,10 @@ export default class Session { return this.stackUuid; } + toJSON() { + return { + ...this, + engineUuid: this.engineUuid, + }; + } }