Skip to content

Commit

Permalink
Refactor incomingRequest initialization in CheckHeartbeat for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed Nov 25, 2024
1 parent 661d44d commit 4da1dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Worker/Jobs/IncomingRequestMonitor/CheckHeartbeat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ RunCron(
}

const incomingRequest: IncomingMonitorRequest = {
...monitor.incomingMonitorRequest! || {},
...(monitor.incomingMonitorRequest! || {}),
incomingRequestReceivedAt:
monitor.incomingRequestReceivedAt || monitor.createdAt!,
onlyCheckForIncomingRequestReceivedAt: true,
Expand Down

0 comments on commit 4da1dd3

Please sign in to comment.