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

Popular method has incorrect type #9

Closed
Huskydog9988 opened this issue Oct 8, 2022 · 0 comments · Fixed by #10
Closed

Popular method has incorrect type #9

Huskydog9988 opened this issue Oct 8, 2022 · 0 comments · Fixed by #10

Comments

@Huskydog9988
Copy link
Collaborator

To start simply, the popular method declares that it returns an array of strings, while in reality it returns an object. Acording to the api response it should look like:

{
	"Id": "myID",
	"Score": 1
}

This problem seems to stem from the api docs, which incorrectly gives the example of:

[
  "string"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant