Skip to content
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 another small bug where listen_type was not being detected. #117

Merged
merged 1 commit into from Feb 7, 2017

Conversation

paramsingh
Copy link
Collaborator

The JSON data contained strings while the variables LISTEN_TYPE_SINGLE
etc are integers, so we need to use _get_listen_type to make sure
that the code works properly. Without this, payloads with listen_type
'single' but more than one listens were being accepted.

The JSON data contained strings while the variables LISTEN_TYPE_SINGLE
etc are integers, so we need to use _get_listen_type to make sure
that the code works properly. Without this, payloads with listen_type
'single' but more than one listens were being accepted.
@mayhem mayhem merged commit 043763e into metabrainz:master Feb 7, 2017
@mayhem
Copy link
Member

mayhem commented Feb 7, 2017

Thanks!

@paramsingh paramsingh deleted the listen-type-fix branch February 7, 2017 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants