Skip to content

Commit

Permalink
docs(messaging): update usage example
Browse files Browse the repository at this point in the history
Close #761
  • Loading branch information
robingenz committed Nov 25, 2024
1 parent 72080dd commit 29eba4d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/messaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,11 @@ const getDeliveredNotifications = async () => {

const removeDeliveredNotifications = async () => {
await FirebaseMessaging.removeDeliveredNotifications({
ids: ['798dfhliblqew89pzads'],
notifications: [
{
id: '798dfhliblqew89pzads',
},
],
});
};

Expand Down

0 comments on commit 29eba4d

Please sign in to comment.