From 89742d67ecae6ef0fb7db6fe0610c09a29b80d0b Mon Sep 17 00:00:00 2001 From: FelixBlaisThon <52010042+FelixBlaisThon@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:43:35 -0500 Subject: [PATCH] fix(api-key): fix baseurl --- src/resources/ApiKeyTemplate/ApiKeyTemplate.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}`);