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
1 changed files with 2 additions and 3 deletions

View File

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