mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
640a6d0cb2
Applications pending approval will return a different response body than what is presently supported. Below is a copy of the actual response that comes back in this scenario: ``` {"status":401,"rateLimitTimeout":null,"body":{"request":"/1.1/statuses/update.json","error":"Read-only application cannot POST."}} ``` Whereas the current implementation assumes the presence of an `errors` array, reading off the first element (i.e. `result.body.errors[0]`), the above scenario throws an exception as `result.body.errors` is now `undefined` and cannot be indexed). The proposed update seeks to account for this while retaining existing functionality and has been tested (error message in debug now properly says "Read-only application cannot POST." |
||
---|---|---|
.. | ||
dweetio | ||
feedparser | ||
irc | ||
nma | ||
notify | ||
prowl | ||
pushbullet | ||
pusher | ||
pushover | ||
twilio | ||
xmpp |