BytewaveMLP / node-derpi

A (WIP) Derpibooru API wrapper for Node.js
MIT License
7 stars 2 forks source link

Calls to fetchJSON performing unnecessary assignment of default options #10

Closed nullforce closed 4 years ago

nullforce commented 4 years ago

Seems like duplicate effort, since assignment of the default options also happens within fetchJSON

https://github.com/BytewaveMLP/node-derpi/blob/e7ebc896b9ddf39d7eca2fac6e1ff4ccad80dae9/lib/util/Fetch.ts#L438