We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 91301f36 authored by Marcos Garcia's avatar Marcos Garcia Committed by GitHub

Fix typo

parent 001e3328
...@@ -364,7 +364,7 @@ class Cron ...@@ -364,7 +364,7 @@ class Cron
foreach ($notifications as $notification) { foreach ($notifications as $notification) {
// Remove OFFER_CLOSED notifications arrived in the last 10 minutes from the list to process to ensure it // Remove OFFER_CLOSED notifications arrived in the last 10 minutes from the list to process to ensure it
// won't close any order which has an AUTHOIRSED notification arrived a bit later than the OFFER_CLOSED one. // won't close any order which has an AUTHORISED notification arrived a bit later than the OFFER_CLOSED one.
$createdAt = \DateTime::createFromFormat('Y-m-d H:i:s', $notification['created_at']); $createdAt = \DateTime::createFromFormat('Y-m-d H:i:s', $notification['created_at']);
$minutesUntilProcessing = $offerClosedMinDate->diff($createdAt)->i; $minutesUntilProcessing = $offerClosedMinDate->diff($createdAt)->i;
if ($notification['event_code'] == Notification::OFFER_CLOSED && $minutesUntilProcessing > 0) { if ($notification['event_code'] == Notification::OFFER_CLOSED && $minutesUntilProcessing > 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment