Skip to content

Commit

Permalink
delete non channel related headers when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed Jan 1, 2025
1 parent 53393f0 commit 6cf1299
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ module.exports = function (dependencies) {
if (action == 'create') {
notification.addPushTypeToPayloadIfNeeded();
}
notification.removeNonChannelRelatedProperties();
const builtNotification = {
headers: notification.headers(),
body: notification.compile(),
Expand Down

0 comments on commit 6cf1299

Please sign in to comment.