Fix: CatalogClient call without token
Signed-off-by: Gustaf Lundh <gustaf.lundh@axis.com>
This commit is contained in:
@@ -130,7 +130,8 @@ export class LinguistBackendClient implements LinguistBackendApi {
|
||||
const allEntities = await this.store.getAllEntities();
|
||||
|
||||
for (const entityRef of allEntities) {
|
||||
const result = await this.catalogApi.getEntityByRef(entityRef);
|
||||
const { token } = await this.tokenManager.getToken();
|
||||
const result = await this.catalogApi.getEntityByRef(entityRef, { token });
|
||||
|
||||
if (!result) {
|
||||
this.logger?.info(
|
||||
|
||||
Reference in New Issue
Block a user