From 69ed45e02068f5860cab37a433afdda55ed6f901 Mon Sep 17 00:00:00 2001 From: Malte Berg Date: Thu, 23 Nov 2023 16:38:41 +0100 Subject: [PATCH] add attribute to repo mapper --- .../src/shared/repo/externaltool/external-tool.repo.mapper.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/server/src/shared/repo/externaltool/external-tool.repo.mapper.ts b/apps/server/src/shared/repo/externaltool/external-tool.repo.mapper.ts index ab35c7b5fda..7e072b9c66a 100644 --- a/apps/server/src/shared/repo/externaltool/external-tool.repo.mapper.ts +++ b/apps/server/src/shared/repo/externaltool/external-tool.repo.mapper.ts @@ -42,6 +42,7 @@ export class ExternalToolRepoMapper { isHidden: entity.isHidden, openNewTab: entity.openNewTab, version: entity.version, + restrictToContexts: entity.restrictToContexts, }); } @@ -101,6 +102,7 @@ export class ExternalToolRepoMapper { isHidden: entityDO.isHidden, openNewTab: entityDO.openNewTab, version: entityDO.version, + restrictToContexts: entityDO.restrictToContexts, }; }