PolyMeilex / node-myanimelist

Node-MyAnimeList is a small promise based package for downloading information from MyAnimeList
25 stars 5 forks source link

Fix Jikan4.randomUser() #39

Closed poohcom1 closed 2 years ago

poohcom1 commented 2 years ago

Issue

There is a typo in the Jikan4.randomUser() endpoint where 'user' is spelt without an 's', causing it to always throw a 404 error. The current endpoint in v4 is /random/users, as shown in the documentation: https://docs.api.jikan.moe/#tag/random/operation/getRandomUsers.

Changes