From e8f1d6c7bed311b87d3dcbe6bb75b8f77af187f0 Mon Sep 17 00:00:00 2001 From: Christopher Berge Hove Date: Fri, 8 Nov 2024 11:19:18 +0100 Subject: [PATCH] refactor: Update API endpoints in portal-client.ts --- .../packages/core/src/modules/portal-config/portal-client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/packages/core/src/modules/portal-config/portal-client.ts b/client/packages/core/src/modules/portal-config/portal-client.ts index bc536406..3f74e7ee 100644 --- a/client/packages/core/src/modules/portal-config/portal-client.ts +++ b/client/packages/core/src/modules/portal-config/portal-client.ts @@ -32,7 +32,7 @@ export class PortalClient implements IPortalClient { this.#appKeysQuery = new Query({ client: { fn: async (args) => { - return await httpClient.json(`/api/portals/${args.portalId}/appkeys`); + return await httpClient.json(`/api/portals/${args.portalId}/apps`); }, }, key: (args) => `apps-${args.portalId}`, @@ -43,7 +43,7 @@ export class PortalClient implements IPortalClient { client: { fn: async (args) => { return await httpClient.json( - `/api/portals/${args.portalId}/contexts/${args.contextId}/appkeys` + `/api/portals/${args.portalId}/contexts/${args.contextId}/apps` ); }, },