Skip to content

Commit c43295b

Browse files
committed
chore: revert backend change
1 parent 702f5a9 commit c43295b

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.changeset/tiny-hounds-pretend.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/backend/src/api/endpoints/APIKeysApi.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ export class APIKeysAPI extends AbstractAPI {
7979
});
8080
}
8181

82+
async getSecret(apiKeyId: string) {
83+
this.requireId(apiKeyId);
84+
85+
return this.request<{ secret: string }>({
86+
method: 'GET',
87+
path: joinPaths(basePath, apiKeyId, 'secret'),
88+
});
89+
}
90+
8291
async verifySecret(secret: string) {
8392
return this.request<APIKey>({
8493
method: 'POST',

0 commit comments

Comments
 (0)