fix(api.js): don't treat 'null' as an object
fix(api.js): don't treat 'null' as an object

nylas/inbox.js,MobileWorks/inbox.js,iconartus/inbox.js,iconartus/inbox.js,nylas/inbox.js,iconartus/inbox.js,MobileWorks/inbox.js,MobileWorks/inbox.js