diff --git a/src/resources/ApiKeyTemplate/ApiKeyTemplate.ts b/src/resources/ApiKeyTemplate/ApiKeyTemplate.ts index ff9e3638..13f99f4d 100644 --- a/src/resources/ApiKeyTemplate/ApiKeyTemplate.ts +++ b/src/resources/ApiKeyTemplate/ApiKeyTemplate.ts @@ -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(`${ApiKeyTemplate.baseUrl}/${apiKeyTemplateId}`);