Skip to content

Commit

Permalink
fix: update API endpoints for app keys to apps in PortalAppsClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Dec 12, 2024
1 parent 157f340 commit c9b9740
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class PortalAppsClient implements IPortalAppsClient {
this.#appKeysQuery = new Query<string[]>({
client: {
fn: async () => {
return await httpClient.json<string[]>(`/api/portals/${this.portalId}/appkeys`);
return await httpClient.json<string[]>(`/api/portals/${this.portalId}/apps`);
},
},
key: () => `app-keys-${this.portalId}`,
Expand All @@ -32,7 +32,7 @@ export class PortalAppsClient implements IPortalAppsClient {
client: {
fn: async (args) => {
return await httpClient.json<string[]>(
`/api/portals/${this.portalId}/contexts/${args.contextId}/appkeys`
`/api/portals/${this.portalId}/contexts/${args.contextId}/apps`
);
},
},
Expand Down

0 comments on commit c9b9740

Please sign in to comment.