mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Update src/Appwrite/Platform/Workers/Messaging.php
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
This commit is contained in:
parent
98149f56b5
commit
526f54cf06
1 changed files with 3 additions and 3 deletions
|
|
@ -689,9 +689,9 @@ class Messaging extends Action
|
|||
$contentAvailable = $message['data']['contentAvailable'] ?? false;
|
||||
$critical = $message['data']['critical'] ?? false;
|
||||
|
||||
$priority = $message['data']['priority'] === 'normal'
|
||||
? Priority::NORMAL
|
||||
: Priority::HIGH;
|
||||
$priority = $message['data']['priority'] === 'high'
|
||||
? Priority::HIGH
|
||||
: Priority::NORMAL;
|
||||
|
||||
return new Push(
|
||||
$to,
|
||||
|
|
|
|||
Loading…
Reference in a new issue