fix some issu
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\Setting;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
@@ -65,6 +66,7 @@ class ChatWebhookService
|
||||
for ($i = 1; $i <= $attempts; $i++) {
|
||||
try {
|
||||
$response = Http::timeout(8)
|
||||
->withOptions(Controller::httpClientOptions([], 8.0))
|
||||
->retry(0)
|
||||
->post('https://'.$host.'/api/projects/set-webhook', [
|
||||
'api_key' => $chatApiKey,
|
||||
|
||||
Reference in New Issue
Block a user