File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/tasks/demo-url-processor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,13 @@ export async function runDemoUrlProcessor(message, context) {
5454 const { Organization } = dataAccess ;
5555 const { siteId, organizationId, taskContext } = message ;
5656 const {
57- siteUrl , slackContext,
57+ experienceUrl , slackContext,
5858 } = taskContext ;
5959
6060 log . info ( 'Processing demo url for site:' , {
6161 taskType : TASK_TYPE ,
6262 siteId,
63- siteUrl ,
63+ experienceUrl ,
6464 organizationId,
6565 } ) ;
6666
@@ -72,7 +72,7 @@ export async function runDemoUrlProcessor(message, context) {
7272 }
7373
7474 const imsTenantId = getImsTenantId ( organization , context , log ) ;
75- const demoUrl = `${ siteUrl } ?organizationId=${ organizationId } #/@${ imsTenantId } /sites-optimizer/sites/${ siteId } /home` ;
75+ const demoUrl = `${ experienceUrl } ?organizationId=${ organizationId } #/@${ imsTenantId } /sites-optimizer/sites/${ siteId } /home` ;
7676 const slackMessage = `:white_check_mark: Setup complete! Access your demo environment here: ${ demoUrl } ` ;
7777 await say ( env , log , slackContext , slackMessage ) ;
7878 log . info ( `Setup complete! Access your demo environment here: ${ demoUrl } ` ) ;
You can’t perform that action at this time.
0 commit comments