Skip to content

Commit

Permalink
fix count
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasptsch committed Jul 30, 2023
1 parent eba1dc4 commit 5138020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/task/task.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class TaskService {
})
: [];

const deletedEventCount = deletedEvents.at(0).count ?? 0;
const deletedEventCount = deletedEvents.at(0)?.count ?? 0;

this.logger.debug(`Deleted ${deletedEventCount} events`);

Expand Down

0 comments on commit 5138020

Please sign in to comment.