fastify / fastify-throttle

Throttle the download speed of a request
Other
17 stars 5 forks source link

fix: invalid hook function head #12

Closed Uzlopak closed 8 months ago

Uzlopak commented 8 months ago

Detected by my citgm workflow ;).

We throw now FST_ERR_HOOK_INVALID_ASYNC_HANDLER when async function calls are having a callback. Removing the done parameter so that we pass the tests again ;).

Checklist