From 845f53c08d352dc67d953446bb15daba37cf02e2 Mon Sep 17 00:00:00 2001 From: Tomas Rimkus Date: Wed, 23 Oct 2024 09:37:30 +0200 Subject: [PATCH] chore(ngxs-demo): fix "Person State" demo (#1528) --- apps/ngxs-demo/{json => assets}/person.json | 0 apps/ngxs-demo/src/person/person.service.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename apps/ngxs-demo/{json => assets}/person.json (100%) diff --git a/apps/ngxs-demo/json/person.json b/apps/ngxs-demo/assets/person.json similarity index 100% rename from apps/ngxs-demo/json/person.json rename to apps/ngxs-demo/assets/person.json diff --git a/apps/ngxs-demo/src/person/person.service.ts b/apps/ngxs-demo/src/person/person.service.ts index fb81461ad..09af96841 100644 --- a/apps/ngxs-demo/src/person/person.service.ts +++ b/apps/ngxs-demo/src/person/person.service.ts @@ -11,7 +11,7 @@ export class PersonService { public fetchAll(): Observable { return this.httpService - .get<{data: PersonModel}>('./app/json/person.json') + .get<{data: PersonModel}>('./assets/person.json') .pipe(map((response: {data: PersonModel}): PersonModel => response.data)); } }