From 51170d154d4ba582a3d69752efc6ae3408d87a95 Mon Sep 17 00:00:00 2001 From: hfhelgason Date: Mon, 16 Dec 2024 15:09:38 +0000 Subject: [PATCH] fix(new-primary-school): mock users dev --- .../templates/new-primary-school/new-primary-school.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/application/template-api-modules/src/lib/modules/templates/new-primary-school/new-primary-school.service.ts b/libs/application/template-api-modules/src/lib/modules/templates/new-primary-school/new-primary-school.service.ts index 15b415938eec..efa04de293f3 100644 --- a/libs/application/template-api-modules/src/lib/modules/templates/new-primary-school/new-primary-school.service.ts +++ b/libs/application/template-api-modules/src/lib/modules/templates/new-primary-school/new-primary-school.service.ts @@ -39,7 +39,7 @@ export class NewPrimarySchoolService extends BaseTemplateApiService { } async getChildren({ auth }: TemplateApiModuleActionProps) { - if (!isRunningInProduction) { + if (isRunningOnEnvironment('dev')) { if (auth.nationalId === '0101303019') { return [ {