Skip to content

Commit

Permalink
fix updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JClackett committed Nov 4, 2024
1 parent ffd6808 commit f7581eb
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 f7581eb

Please sign in to comment.