Skip to content

Commit

Permalink
cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
JUNIORCO committed Sep 8, 2024
1 parent 8f24cba commit f06c2a8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/trigger/pyng.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ export const pyngTask = schedules.task({
},
});

if (output.skip) {
return;
}

const pyngId = payload.externalId;
if (!pyngId) {
throw new Error("externalId (which is the pyngId) is required");
Expand Down Expand Up @@ -144,7 +140,6 @@ export const pyngTask = schedules.task({
if (!message?.shouldSendEmail) {
console.log("Condition not met, done.");
return {
skip: true,
runId: run.id,
};
}
Expand Down Expand Up @@ -173,7 +168,6 @@ export const pyngTask = schedules.task({
}

return {
skip: false,
runId: run.id,
};
},
Expand Down

0 comments on commit f06c2a8

Please sign in to comment.