[CST-4880] Fix invalidateRootCache method

This commit is contained in:
Giuseppe Digilio
2022-01-25 10:57:08 +01:00
parent 4cfff33301
commit d9df7336df

View File

@@ -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 */