From 92f10d06e2bd6e788a40c6760425ccc2835b0a95 Mon Sep 17 00:00:00 2001 From: "Peter.Morton" Date: Tue, 5 Mar 2024 16:23:55 -0600 Subject: [PATCH] add en-GB - need to make this dynamic --- src/helpers/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/index.ts b/src/helpers/index.ts index 43c931f..66178e4 100644 --- a/src/helpers/index.ts +++ b/src/helpers/index.ts @@ -132,7 +132,7 @@ export async function getKMContent( "Accept": "application/ld+json", }; // TO-DO do something about lang parameter - const url = `${channelAutomationAPI.host}/km-content-service/${channelAutomationAPI.tenant}/content/vkm:AuthoredContent/${contentID}`; + const url = `${channelAutomationAPI.host}/km-content-service/${channelAutomationAPI.tenant}/content/vkm:AuthoredContent/${contentID}/en-GB`; return await axios .get(url, { headers })