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
This commit is contained in:
parent
1173877167
commit
032546219c
@ -249,7 +249,7 @@ export class Admin {
|
|||||||
desc: 'Get the API keys of a specific project',
|
desc: 'Get the API keys of a specific project',
|
||||||
params: [['Project ID', new InputText('text', true)]],
|
params: [['Project ID', new InputText('text', true)]],
|
||||||
func: async (projectId: string): Promise<Record<string, unknown>> => {
|
func: async (projectId: string): Promise<Record<string, unknown>> => {
|
||||||
return this.fetch('GET', `projects/${projectId}/apiKeys`);
|
return this.fetch('GET', `projects/${projectId}/apikeys`);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user