Deploy: 2026-08-01 22:40:27

This commit is contained in:
Hamza-Ayed
2026-08-01 22:40:27 +03:00
parent f38d01a0e0
commit d01d0b932b
2 changed files with 93 additions and 8 deletions
@@ -152,6 +152,7 @@ class WhatsAppController extends BaseController
'status' => 'disconnected'
]);
WhatsAppSession::clearSessionsCache($companyId);
$newSession = WhatsAppSession::findSecure((int)$id);
$response->json([
@@ -197,6 +198,7 @@ class WhatsAppController extends BaseController
curl_close($ch);
WhatsAppSession::delete((int)$sessionId);
WhatsAppSession::clearSessionsCache($companyId);
$response->json(['status' => 'success', 'message' => 'Session deleted successfully']);
}