Skip to content

Commit 0925946

Browse files
committed
typo
1 parent 1c72974 commit 0925946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

executors/src/webhook/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ pub fn queue_webhook_envelopes<T: Serialize + Clone>(
436436
tx: &mut TransactionContext<'_>,
437437
webhook_queue: Arc<Queue<WebhookJobHandler>>,
438438
) -> Result<(), TwmqError> {
439-
let now = chrono::Utc::now().timestamp().min(0) as u64;
439+
let now = chrono::Utc::now().timestamp().max(0) as u64;
440440
let serialised_webhook_envelopes =
441441
webhook_options
442442
.iter()

0 commit comments

Comments
 (0)