From e106190874d5348914f83ee4d9a6dc36d8d63d5c Mon Sep 17 00:00:00 2001 From: sunil-lakshman <104969541+sunil-lakshman@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:30:02 +0530 Subject: [PATCH] Updated the X-User-Agent --- src/core/lib/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lib/request.js b/src/core/lib/request.js index d486ec2d..ac77555d 100755 --- a/src/core/lib/request.js +++ b/src/core/lib/request.js @@ -33,7 +33,7 @@ export default function Request(stack, fetchOptions) { // setting headers requestParams.headers['Content-Type'] = 'application/json; charset=UTF-8'; - requestParams.headers['X-User-Agent'] = 'contentstack-delivery-js-{{PLATFORM}}/' + version; + requestParams.headers['X-User-Agent'] = 'contentstack-delivery-javascript-{{PLATFORM}}/' + version; if (requestParams.body && typeof requestParams.body === 'object') { delete requestParams.body._method;