Skip to content

Commit

Permalink
Fix sendNotificationCustom $parameters['include_external_user_ids'] i…
Browse files Browse the repository at this point in the history
…s not used
  • Loading branch information
Lazar Dudic committed Sep 28, 2023
1 parent e37aaf4 commit 3d46a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OneSignalClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public function sendNotificationCustom($parameters = []){
}

// Make sure to use included_segments
if (empty($parameters['included_segments']) && empty($parameters['include_player_ids']) && empty('include_external_user_ids')) {
if (empty($parameters['included_segments']) && empty($parameters['include_player_ids']) && empty($parameters['include_external_user_ids'])) {
$parameters['included_segments'] = ['All'];
}

Expand Down

0 comments on commit 3d46a5e

Please sign in to comment.