Skip to content

Commit

Permalink
CXCDS-14100: npm run prettier fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
johannathalmann-SAP committed Jan 30, 2025
1 parent fce23dc commit 5c70730
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ function buildCdsConfig(
tenant: '${options.tenant || 'TENANT_PLACEHOLDER'}',
baseUrl: '${options.baseUrl || 'BASE_URL_PLACEHOLDER'}',
endpoints: {
strategyProducts: '${options.sciEnabled
? '/strategy/v1/sites/\${baseSite}/strategies/\${strategyId}/products'
: '/strategy/\${tenant}/strategies/\${strategyId}/products'}',
strategyProducts: '${
options.sciEnabled
? '/strategy/v1/sites/${baseSite}/strategies/${strategyId}/products'
: '/strategy/${tenant}/strategies/${strategyId}/products'
}',
searchIntelligence:
'/search-intelligence/v1/sites/\${cdsSiteId}/trendingSearches',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import {
* @see CdsModule.forRoot
*/


const cds1: CdsConfig = {
cds: {
baseSite: ['electronics-spa', 'electronics', 'electronics-standalone'],
Expand All @@ -36,7 +35,8 @@ const cds1: CdsConfig = {
profileTag: {
javascriptUrl:
'https://tag.static.stage.context.cloud.sap/js/profile-tag.js',
configUrl: 'https://tag.static.stage.context.cloud.sap/config/mytenant-main-default',
configUrl:
'https://tag.static.stage.context.cloud.sap/config/mytenant-main-default',
allowInsecureCookies: true,
},
},
Expand Down

0 comments on commit 5c70730

Please sign in to comment.