From 032546219c3df0c2b52c83ba4ef2e64518a3a301 Mon Sep 17 00:00:00 2001 From: paul cannon Date: Wed, 28 Jun 2023 12:26:13 -0500 Subject: [PATCH] satellite/admin: fix spelling of list-apikeys endpoint Currently, any attempt to list the api keys associated with a project from the admin UI results in a 404 NOT FOUND error. This appears to be because there is no /api/projects/{project}/apiKeys endpoint registered; it should have a lowercase k. Change-Id: Ifbe4cd0f9ba12a6e37a0d9f64df91c264ced5558 --- satellite/admin/ui/src/lib/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satellite/admin/ui/src/lib/api.ts b/satellite/admin/ui/src/lib/api.ts index d5a18e2c0..a498d3c98 100644 --- a/satellite/admin/ui/src/lib/api.ts +++ b/satellite/admin/ui/src/lib/api.ts @@ -249,7 +249,7 @@ export class Admin { desc: 'Get the API keys of a specific project', params: [['Project ID', new InputText('text', true)]], func: async (projectId: string): Promise> => { - return this.fetch('GET', `projects/${projectId}/apiKeys`); + return this.fetch('GET', `projects/${projectId}/apikeys`); } }, {