Skip to content

Commit

Permalink
Update ajax.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Feb 7, 2024
1 parent 548aad0 commit 08a4132
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/front/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ public function initContent()

if (!Validate::isLoadedObject($order) || $order->id_customer != (int) Tools::getValue('customer')) {
$this->ajaxRender('KO');
exit;
}

(new GanalyticsRepository())->markOrderAsSent((int) $orderId);

$this->ajaxRender('OK');
exit;
}
}

0 comments on commit 08a4132

Please sign in to comment.