PolyMeilex / node-myanimelist

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

MAL Unstable login false api url. #15

Closed DaniGTA closed 4 years ago

DaniGTA commented 4 years ago

Installed version: node-myanimelist: 3.0.3

On:

const malAuth = Mal.auth();
const acount = await malAuth.Unstable.login(username, pass);

It makes a post request to this url: https://api.myanimelist.net/v2//auth/token but it must be: https://api.myanimelist.net/v2/auth/token

PolyMeilex commented 4 years ago

Thanks, I'll fix that asap.

PolyMeilex commented 4 years ago

Sorry those where leftovers from previous architecture, I should have unit test for those, my bad

PolyMeilex commented 4 years ago

Fixed in version v3.0.4

npm