Skip to content

Commit 7c9bdbe

Browse files
authored
Fix timeout parameter (#159)
1 parent 09c3a3e commit 7c9bdbe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/OneSignalServiceProvider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ public function boot()
2424

2525
return new OneSignalClient(
2626
$oneSignalConfig['app_id'],
27-
$oneSignalConfig['rest_api_url'] ?? 'https://api.onesignal.com',
2827
$oneSignalConfig['rest_api_key'],
29-
''
28+
'',
29+
0,
30+
$oneSignalConfig['rest_api_url'] ?? 'https://api.onesignal.com'
3031
);
3132
});
3233
}

0 commit comments

Comments
 (0)