From d9df7336df2b5310eff20dd82507f8b61fda3382 Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Tue, 25 Jan 2022 10:57:08 +0100 Subject: [PATCH] [CST-4880] Fix invalidateRootCache method --- src/app/core/data/root-data.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/data/root-data.service.ts b/src/app/core/data/root-data.service.ts index 07d2de32ef..ef542199dd 100644 --- a/src/app/core/data/root-data.service.ts +++ b/src/app/core/data/root-data.service.ts @@ -129,7 +129,7 @@ export class RootDataService { * Set to sale the root endpoint cache hit */ invalidateRootCache() { - this.requestService.setStaleByHrefSubstring('server/api'); + this.requestService.setStaleByHrefSubstring(this.halService.getRootHref()); } } /* tslint:enable:max-classes-per-file */