Skip to content

Commit

Permalink
fix: modify to proper return type (#854)
Browse files Browse the repository at this point in the history
J:ORG-659
  • Loading branch information
schaoukicoveo authored Sep 17, 2024
1 parent 1d75a22 commit b453d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/ApiKeyTemplate/ApiKeyTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export default class ApiKeyTemplate extends Resource {
static baseUrl = '/rest/templates/apikeys';

get(apiKeyTemplateId: string) {
return this.api.get<ApiKeyTemplateModel[]>(`${ApiKeyTemplate.baseUrl}/${apiKeyTemplateId}`);
return this.api.get<ApiKeyTemplateModel>(`${ApiKeyTemplate.baseUrl}/${apiKeyTemplateId}`);
}
}

0 comments on commit b453d33

Please sign in to comment.