You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I'm wondering how it ever retries as sendNoRetry always calls the callback with result of null when an error occurs. The check then becomes if (null === undefined) which evaluates to false. Should it not just be if (result == undefined) or (result == null) or just if (!result)?
The text was updated successfully, but these errors were encountered:
I'm looking at the check on line 109 of sender.js:
https://github.com/ToothlessGear/node-gcm/blob/master/lib/sender.js#L109
and I'm wondering how it ever retries as sendNoRetry always calls the callback with result of null when an error occurs. The check then becomes if (null === undefined) which evaluates to false. Should it not just be if (result == undefined) or (result == null) or just if (!result)?
The text was updated successfully, but these errors were encountered: