TachiWeb / TachiWeb-Server

A port of the Tachiyomi manga reader to the desktop and server
407 stars 46 forks source link

2 API calls with the same name (editCategories) #47

Closed Ligerx closed 5 years ago

Ligerx commented 5 years ago

@tachiweb/api-client/lib/api.js

There's 2 editCategories functions. Haven't tried using the exposed api yet, so idk if this is a breaking bug or not. Functionally, it works as expected.

null-dev commented 5 years ago

Are you talking about the editCategory and editCategories functions? Those two functions behave differently. One of them allows editing a single category, and the other allows for atomically editing multiple categories.

Ligerx commented 5 years ago

Nevermind, I got confused. The api file has a DefaultApiFetchParamCreator object and a DefaultApi object, so there were duplicate method names when ctrl+f searching.