Browse Source

fix: `on specific day` trigger not working

Ahmad Kholid 3 years ago
parent
commit
e4a2a941dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/background/index.js

+ 1 - 1
src/background/index.js

@@ -296,7 +296,7 @@ browser.alarms.onAlarm.addListener(async ({ name }) => {
   workflow.execute(currentWorkflow);
 
   if (data && data.type === 'specific-day') {
-    registerSpecificDay(currentWorkflow.id, triggerBlock.data);
+    registerSpecificDay(currentWorkflow.id, data);
   }
 });