Skip to content

Commit d030116

Browse files
authored
Merge pull request #30 from mai92/master
add priority default value
2 parents 027a54d + 22c8df0 commit d030116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fcm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function send()
7070

7171
$payloads = [
7272
'content_available' => true,
73-
'priority' => $this->priority,
73+
'priority' => $this->priority ?? 'high',
7474
'data' => $this->data,
7575
'notification' => $this->notification
7676
];

0 commit comments

Comments
 (0)