Skip to content

Commit

Permalink
trigger the first run
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 committed Nov 16, 2024
1 parent 6e06ec3 commit 9b1e192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/discourse/core.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ async function createDiscourseSchedule(platformId: string, endpoint: string): Pr
try {
const schedule = await temporalDiscourse.createSchedule(platformId, endpoint);
logger.info(`Started schedule '${schedule.scheduleId}'`);
await schedule.trigger();
return schedule.scheduleId;
} catch (error) {
logger.error(error, 'Failed to create discourse schedule');
Expand Down

0 comments on commit 9b1e192

Please sign in to comment.