We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61b62e4 commit 3945e0cCopy full SHA for 3945e0c
src/pushStatusHandler.js
@@ -67,7 +67,7 @@ export default function pushStatusHandler(config) {
67
results = flatten(results);
68
results.reduce((memo, result) => {
69
// Cannot handle that
70
- if (!result.device || !result.device.deviceType) {
+ if (!result || !result.device || !result.device.deviceType) {
71
return memo;
72
}
73
let deviceType = result.device.deviceType;
0 commit comments