add en-GB - need to make this dynamic

This commit is contained in:
Peter Morton 2024-03-05 16:23:55 -06:00
parent 7408c8c518
commit 92f10d06e2

View File

@ -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 })