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
{{ message }}
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
if (typeof pageOrQuery === 'object' && pageOrQuery !== null) {
Null is technically an object, so if pageOrQuery isn't specified, the code will try to assign an access_token property to a null object, which ends the universe.
The text was updated successfully, but these errors were encountered:
Line 96 in
lib/client.js
https://github.com/pksunkara/octonode/blob/master/lib/octonode/client.js#L96
if (typeof pageOrQuery === 'object') {
Should be
if (typeof pageOrQuery === 'object' && pageOrQuery !== null) {
Null is technically an object, so if pageOrQuery isn't specified, the code will try to assign an access_token property to a null object, which ends the universe.
The text was updated successfully, but these errors were encountered: