Skip to content

Commit

Permalink
Merge pull request #348 from rosvik/master
Browse files Browse the repository at this point in the history
Add metadata parameter to example in README
  • Loading branch information
mikaelbr committed Oct 28, 2020
2 parents e55bd8f + cabcf80 commit 6cd6cb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -70,8 +70,9 @@ notifier.notify(
sound: true, // Only Notification Center or Windows Toasters
wait: true // Wait with callback, until user action is taken against notification, does not apply to Windows Toasters as they always wait or notify-send as it does not support the wait option
},
function (err, response) {
function (err, response, metadata) {
// Response is response from notification
// Metadata contains activationType, activationAt, deliveredAt
}
);

Expand Down

0 comments on commit 6cd6cb9

Please sign in to comment.