Skip to content

Commit

Permalink
fix(api-key): fix baseurl (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixBlaisThon authored Dec 2, 2024
1 parent 45b9ad7 commit b6e73c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/resources/ApiKeyTemplate/ApiKeyTemplate.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import API from '../../APICore.js';
import Resource from '../Resource.js';
import {ApiKeyTemplateEligibilityResponseModel, ApiKeyTemplateModel} from './ApiKeyTemplateInterface.js';

export default class ApiKeyTemplate extends Resource {
static baseUrl = '/rest/templates/apikeys';
static baseUrl = `/rest/organizations/${API.orgPlaceholder}/templates/apikeys`;

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

0 comments on commit b6e73c9

Please sign in to comment.