From c9b9740235e4f8bb686d2ec5eb3781a6f6cec71d Mon Sep 17 00:00:00 2001 From: Christopher Berge Hove Date: Thu, 12 Dec 2024 08:13:41 +0100 Subject: [PATCH 1/2] fix: update API endpoints for app keys to apps in PortalAppsClient --- .../core/src/modules/portal-apps/portal-apps-client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/packages/core/src/modules/portal-apps/portal-apps-client.ts b/client/packages/core/src/modules/portal-apps/portal-apps-client.ts index 3393561b1..7e40eb366 100644 --- a/client/packages/core/src/modules/portal-apps/portal-apps-client.ts +++ b/client/packages/core/src/modules/portal-apps/portal-apps-client.ts @@ -21,7 +21,7 @@ export class PortalAppsClient implements IPortalAppsClient { this.#appKeysQuery = new Query({ client: { fn: async () => { - return await httpClient.json(`/api/portals/${this.portalId}/appkeys`); + return await httpClient.json(`/api/portals/${this.portalId}/apps`); }, }, key: () => `app-keys-${this.portalId}`, @@ -32,7 +32,7 @@ export class PortalAppsClient implements IPortalAppsClient { client: { fn: async (args) => { return await httpClient.json( - `/api/portals/${this.portalId}/contexts/${args.contextId}/appkeys` + `/api/portals/${this.portalId}/contexts/${args.contextId}/apps` ); }, }, From ec122a39859902d40cc294e74b785686e5d0731d Mon Sep 17 00:00:00 2001 From: Noggling Date: Thu, 12 Dec 2024 07:29:55 +0000 Subject: [PATCH 2/2] chore: create pr-893-2230942484.md --- .changeset/pr-893-2230942484.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/pr-893-2230942484.md diff --git a/.changeset/pr-893-2230942484.md b/.changeset/pr-893-2230942484.md new file mode 100644 index 000000000..a83332538 --- /dev/null +++ b/.changeset/pr-893-2230942484.md @@ -0,0 +1,5 @@ + +--- +"fusion-project-portal": patch +--- +update API endpoints for app keys to apps in PortalAppsClient