Skip to content

Commit

Permalink
Remove usage of ajaxDie
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Feb 7, 2024
1 parent 4c127ba commit 1f541ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/admin/AdminGanalyticsAjax.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public function init()

if (Validate::isLoadedObject($order) && (isset($this->context->employee->id) && $this->context->employee->id)) {
(new GanalyticsRepository())->markOrderAsSent((int) $orderId);
$this->ajaxDie('OK');
$this->ajaxRender('OK');
}

$this->ajaxDie('KO');
$this->ajaxRender('KO');
}
}

0 comments on commit 1f541ef

Please sign in to comment.