Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

getWaitListPosition() errors out when wait list is empty #41

Closed
avatarkava opened this issue Oct 27, 2014 · 1 comment
Closed

getWaitListPosition() errors out when wait list is empty #41

avatarkava opened this issue Oct 27, 2014 · 1 comment
Labels
Milestone

Comments

@avatarkava
Copy link
Contributor

in /node_modules/plugapi/src/room.js:511
    var pos = booth.waitingDJs.indexOf(uid);
                               ^
TypeError: Cannot call method 'indexOf' of undefined
    at Room.getWaitListPosition (/node_modules/plugapi/src/room.js:511:32)
    at PlugAPI.getWaitListPosition (/node_modules/plugapi/src/client.js:1464:17)
@TATDK
Copy link
Contributor

TATDK commented Nov 5, 2014

Merged #43

@TATDK TATDK closed this as completed Nov 5, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants