Skip to content

Commit 1471437

Browse files
tweaks
1 parent 60d0f9b commit 1471437

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/tasks/demo-url-processor/handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function runDemoUrlProcessor(message, context) {
3939
organizationId,
4040
});
4141

42-
await say(env, log, slackContext, 'Preparing demo url');
42+
await say(env, log, slackContext, ':information_source: *Preparing demo url*');
4343
try {
4444
// prepare demo url
4545
const demoUrl = prepareDemoUrl(siteUrl, organizationId, siteId);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function runDisableImportAuditProcessor(message, context) {
3636
importTypes,
3737
auditTypes,
3838
});
39-
await say(env, log, slackContext, ':broom: Disabling imports and audits...');
39+
await say(env, log, slackContext, ':broom: *Disabling imports and audits*');
4040
try {
4141
// Database operations
4242
log.info('Starting database operations');

src/tasks/opportunity-status-processor/handler.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function runOpportunityStatusProcessor(message, context) {
6060
auditTypes,
6161
});
6262

63-
await say(env, log, slackContext, 'Checking opportunity status');
63+
await say(env, log, slackContext, ':information_source: *Checking opportunity status*');
6464
try {
6565
// Get the site and its opportunities
6666
const site = await Site.findById(siteId);
@@ -86,7 +86,7 @@ export async function runOpportunityStatusProcessor(message, context) {
8686

8787
// Determine status based on suggestions length
8888
const hasSuggestions = suggestions && suggestions.length > 0;
89-
const status = hasSuggestions ? ':white_check_mark:' : ':cross_x:';
89+
const status = hasSuggestions ? ':white_check_mark:' : ':cross-x:';
9090

9191
// Send Slack message
9292
const slackMessage = `${opportunityTitle} ${status}`;
@@ -95,7 +95,6 @@ export async function runOpportunityStatusProcessor(message, context) {
9595
}
9696

9797
log.info('Opportunity status checking completed');
98-
await say(env, log, slackContext, 'Opportunity status checking completed');
9998
} catch (error) {
10099
log.error('Error in opportunity status checking:', {
101100
error: error.message,

0 commit comments

Comments
 (0)