SlashNephy / Divination

FINAL FANTASY XIV toolkits
http://xiv.starry.blue/
MIT License
15 stars 7 forks source link

Fix UserRefreshResponse and UserLoginResponse Model for API changes #640

Closed AkiOwO closed 3 months ago

AkiOwO commented 3 months ago

The response of the refresh/login API endpoint changed. Refresh:

{
   "success":true,
   "data":{
      "sessionId":"SESSION_ID",
      "token":"TOKEN"
   }
}

Login:

{
   "success":true,
   "data":{
      "sessionId":"SESSION_ID",
      "token":"TOKEN",
      "id":"ID",
      --Other data that isnt used in our case
    }
}

Changelog:

SlashNephy commented 3 months ago

New version will be available in a few minutes.