Skip to content

Commit

Permalink
Add exit command
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Feb 7, 2024
1 parent 4ab5578 commit 548aad0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/admin/AdminGanalyticsAjax.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ public function init()
if (Validate::isLoadedObject($order) && (isset($this->context->employee->id) && $this->context->employee->id)) {
(new GanalyticsRepository())->markOrderAsSent((int) $orderId);
$this->ajaxRender('OK');
exit;
}

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

0 comments on commit 548aad0

Please sign in to comment.