Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
JClackett committed Nov 4, 2024
2 parents 2628ba7 + f7581eb commit 20a6a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/router/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export const taskRouter = createTRPCRouter({
}
if (
(data.reminder && existingTask.reminder !== data.reminder) ||
(data.startTime && data.startTime !== existingTask.startTime)
(data.reminder && data.startTime && data.startTime !== existingTask.startTime)
) {
if (task.upstashMessageId) await deleteTaskReminder(task.upstashMessageId)
const upstashMessageId = await createTaskReminder(task)
Expand Down

0 comments on commit 20a6a1d

Please sign in to comment.