Skip to content

Commit 3945e0c

Browse files
flovilmartdrew-gross
authored andcommitted
Update pushStatusHandler.js (#1543)
Fixes error thrown by #1526
1 parent 61b62e4 commit 3945e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pushStatusHandler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function pushStatusHandler(config) {
6767
results = flatten(results);
6868
results.reduce((memo, result) => {
6969
// Cannot handle that
70-
if (!result.device || !result.device.deviceType) {
70+
if (!result || !result.device || !result.device.deviceType) {
7171
return memo;
7272
}
7373
let deviceType = result.device.deviceType;

0 commit comments

Comments
 (0)