diff --git a/site/docs-md/apis/local-notifications/index.md b/site/docs-md/apis/local-notifications/index.md index d834e61cc0..bb21478334 100644 --- a/site/docs-md/apis/local-notifications/index.md +++ b/site/docs-md/apis/local-notifications/index.md @@ -23,7 +23,7 @@ Local Notifications are great for reminding the user about a change in the app s import { Plugins } from '@capacitor/core'; const { LocalNotifications } = Plugins; -LocalNotifications.schedule({ +const notifs = await LocalNotifications.schedule({ notifications: [ { title: "Title", @@ -37,6 +37,7 @@ LocalNotifications.schedule({ } ] }); +console.log('scheduled notifications', notifs); ``` ## API