Skip to content

Commit

Permalink
refactor: Update API endpoints in portal-client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Nov 8, 2024
1 parent 61293e2 commit e8f1d6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class PortalClient implements IPortalClient {
this.#appKeysQuery = new Query<string[], GetAppKeysParameters>({
client: {
fn: async (args) => {
return await httpClient.json<string[]>(`/api/portals/${args.portalId}/appkeys`);
return await httpClient.json<string[]>(`/api/portals/${args.portalId}/apps`);
},
},
key: (args) => `apps-${args.portalId}`,
Expand All @@ -43,7 +43,7 @@ export class PortalClient implements IPortalClient {
client: {
fn: async (args) => {
return await httpClient.json<string[]>(
`/api/portals/${args.portalId}/contexts/${args.contextId}/appkeys`
`/api/portals/${args.portalId}/contexts/${args.contextId}/apps`
);
},
},
Expand Down

0 comments on commit e8f1d6c

Please sign in to comment.