KennethWussmann / simplelogin-client

Zero-dependency TypeScript client for the SimpleLogin API
https://kennethwussmann.github.io/simplelogin-client/
MIT License
1 stars 1 forks source link

Fix incorrect recommendation response #17

Closed KennethWussmann closed 1 year ago

KennethWussmann commented 1 year ago

Currently the client throws an error when the alias options response contains a recommendation. This is because the response is documented as an array of recommendations while it's actually just an object. Hence the singular name recommendation.

KennethWussmann commented 1 year ago

Also needed some housekeeping: