diff --git a/.changeset/red-ducks-battle.md b/.changeset/red-ducks-battle.md new file mode 100644 index 000000000..0f5433772 --- /dev/null +++ b/.changeset/red-ducks-battle.md @@ -0,0 +1,7 @@ +--- +'@equinor/fusion-framework-module-app': patch +--- + +### Changes: +- Updated the `AppClient` class to modify the query path in the `fn` method for fetching app manifests: + - Changed the path from `/apps/${appKey}` to `/persons/me/apps/${appKey}`. \ No newline at end of file diff --git a/packages/modules/app/src/AppClient.ts b/packages/modules/app/src/AppClient.ts index e7c423f4e..2201754b7 100644 --- a/packages/modules/app/src/AppClient.ts +++ b/packages/modules/app/src/AppClient.ts @@ -68,7 +68,7 @@ export class AppClient implements IAppClient { this.#manifest = new Query({ client: { fn: ({ appKey }) => { - return client.json(`/apps/${appKey}`, { + return client.json(`/persons/me/apps/${appKey}`, { headers: { 'Api-Version': '1.0', },