correcao integracao site

This commit is contained in:
HalbeBruno
2025-12-17 12:52:47 -03:00
parent 27f3b79325
commit b80cab035e
2 changed files with 9 additions and 2 deletions

View File

@@ -22,8 +22,8 @@ class IntegrationController
// Domain metrics
$blockedDomains = $domainModel->countBlocked();
// Last Update - Try specific key first, fallback to now if not set yet
$lastUpdate = $settingModel->get('last_rpz_update');
// Last Update - Date of last order
$lastUpdate = $orderModel->getLastOrderDate();
if (!$lastUpdate) {
$lastUpdate = date('Y-m-d H:i:s');
}