Aller au contenu

primatch-frontend


primatch-frontend / services/notificationPreferenceService / updateNotificationPreference

Function: updateNotificationPreference()

updateNotificationPreference(type, channels): Promise\<NotificationPreference>

Defined in: src/services/notificationPreferenceService.ts:21

Met à jour les canaux actifs pour un type de notification donné.

Parameters

type

string

Identifiant du type de notification (ex: 'game_joined')

channels

Canaux à activer/désactiver

email

boolean

in_app

boolean

push

boolean

Returns

Promise\<NotificationPreference>