mod-build 4.0.89-beta.2 → 4.0.89-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tasks/templates.js +1 -1
package/package.json
CHANGED
package/tasks/templates.js
CHANGED
|
@@ -231,7 +231,7 @@ const getConsentCaptureLanguage = async function(config, tempConfig) {
|
|
|
231
231
|
if (brandedSiteIdentifiers.data[websiteName] && (brandedSiteIdentifiers.data[websiteName].publicKey || brandedSiteIdentifiers.data[websiteName][companyName] && brandedSiteIdentifiers.data[websiteName][companyName].publicKey)) {
|
|
232
232
|
const publicKey = brandedSiteIdentifiers.data[websiteName][companyName] ? brandedSiteIdentifiers.data[websiteName][companyName].publicKey : brandedSiteIdentifiers.data[websiteName].publicKey;
|
|
233
233
|
|
|
234
|
-
apiUrl = `${apiDomain}utils/vendor-display-name?publicKey=${publicKey}`;
|
|
234
|
+
apiUrl = `${apiDomain}utils/vendor-display-name?publicKey=${encodeURIComponent(publicKey)}`;
|
|
235
235
|
const getBrandedDisplayName = await axios.get(apiUrl);
|
|
236
236
|
if (getBrandedDisplayName.status !== 200) {
|
|
237
237
|
throw new Error(`${resp.status}: Error while getting branded display name from HS Form Service`);
|