Skip to content

Commit

Permalink
Merge pull request #21 from Excali-Studio/EXD-82-fix
Browse files Browse the repository at this point in the history
Fix  static function invocation in the CanvasService
  • Loading branch information
coredumped7893 authored Jun 3, 2024
2 parents 41f9ddb + 7d2b1fe commit 3e411f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canvas/canvas.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}

Expand Down

0 comments on commit 3e411f9

Please sign in to comment.