fastify / fastify-rate-limit

A low overhead rate limiter for your routes
MIT License
477 stars 66 forks source link

Use statusCode in errorResponseBuilder example #359

Closed Szymx95 closed 7 months ago

Szymx95 commented 7 months ago

Using code: in errorResponseBuilder results in a statusCode of a response to be 500. I believe it should be changed to statusCode: in example.

Checklist

gurgunday commented 7 months ago

Thanks!