-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: issue of parsing response for here_now #427
Conversation
// describe('#whereNow', () => { | ||
// it('returns the requested data for user UUID', (done) => { | ||
// const scope = utils | ||
// .createNock() | ||
// .get('/v2/presence/sub-key/mySubscribeKey/uuid/myUUID') | ||
// .query({ | ||
// pnsdk: `PubNub-JS-Nodejs/${pubnub.getVersion()}`, | ||
// uuid: 'myUUID', | ||
// }) | ||
// .reply(200, '{"status": 200, "message": "OK", "payload": {"channels": ["a","b"]}, "service": "Presence"}', { | ||
// 'content-type': 'text/javascript', | ||
// }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woah, what happened here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bad! Reverting in a second
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore for now
This reverts commit 1ac00af. reverted last commit
@parfeon Ready now for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@pubnub-release-bot release |
🚀 Release successfully completed 🚀 |
fix: fix hereNow response parsing for total occupancy count field.
Fixed issue of hereNow response parsing for
totalOccupancy
field.