Skip to content

Commit a3a206c

Browse files
add siteUrl to slack msg
1 parent 8274040 commit a3a206c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/tasks/disable-import-audit-processor

src/tasks/disable-import-audit-processor/handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ export async function runDisableImportAuditProcessor(message, context) {
5454

5555
await site.save();
5656
await configuration.save();
57-
log.info(`For siteId: ${siteId}, Disabled imports and audits`);
58-
let slackMessage = `:broom: *For siteId: ${siteId}, Disabled imports*: ${importTypes.join(', ')} *and audits*: ${auditTypes.join(', ')}`;
57+
log.info(`For site: ${siteUrl}: Disabled imports and audits`);
58+
let slackMessage = `:broom: *For site: ${siteUrl}: Disabled imports*: ${importTypes.join(', ')} *and audits*: ${auditTypes.join(', ')}`;
5959
await say(env, log, slackContext, slackMessage);
6060
slackMessage = ':information_source: The list of enabled imports and audits may differ from the disabled ones because items that are already enabled are not automatically disabled.';
6161
await say(env, log, slackContext, slackMessage);

0 commit comments

Comments
 (0)