mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
@@ -49,8 +49,8 @@
|
||||
break;
|
||||
case MessagingProviderType.Push:
|
||||
{
|
||||
const file = $messageParams[MessagingProviderType.Push].file;
|
||||
const fileCompoundId = `${file.bucketId}:${file.$id}`;
|
||||
const file = $messageParams[MessagingProviderType.Push]?.file;
|
||||
const fileCompoundId = file ? `${file.bucketId}:${file.$id}` : undefined;
|
||||
const customData: Record<string, string> = {};
|
||||
const { data } = $messageParams[MessagingProviderType.Push];
|
||||
if (data && data.length > 0) {
|
||||
|
||||
@@ -23,8 +23,8 @@ export type SMSMessageParams = MessageParams & {
|
||||
export type PushMessageParams = MessageParams & {
|
||||
title: string;
|
||||
body: string;
|
||||
file: Models.File;
|
||||
data: [string, string][];
|
||||
file: Models.File;
|
||||
action?: string;
|
||||
icon?: string;
|
||||
sound?: string;
|
||||
|
||||
Reference in New Issue
Block a user