From 7d2b1fe37f780e6192152231f0f354e8ce3b0e83 Mon Sep 17 00:00:00 2001 From: Maciek Malik Date: Mon, 3 Jun 2024 13:38:06 +0200 Subject: [PATCH] Fix static function invocation in the CanvasService --- src/canvas/canvas.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/canvas/canvas.service.ts b/src/canvas/canvas.service.ts index 45476ba..21c675d 100644 --- a/src/canvas/canvas.service.ts +++ b/src/canvas/canvas.service.ts @@ -179,7 +179,7 @@ export class CanvasService { return ( (await queryBuilder.getOne()) || - (this.produceEmptyCanvasState(canvasId) as CanvasStateEntity) //If state is empty return default one + (CanvasService.produceEmptyCanvasState(canvasId) as CanvasStateEntity) //If state is empty return default one ); }