fix: fix bug when faving/boosting push notification (#1244)

This commit is contained in:
Nolan Lawson 2019-05-27 12:32:06 -07:00 committed by GitHub
parent 3a7d6d3552
commit 164768e6c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,10 +193,9 @@ const cloneNotification = notification => {
// Object.assign() does not work with notifications // Object.assign() does not work with notifications
for (let k in notification) { for (let k in notification) {
if (notification.hasOwnProperty(k)) { // intentionally not doing a hasOwnProperty check
clone[k] = notification[k] clone[k] = notification[k]
} }
}
return clone return clone
} }