nuwave / lighthouse

A framework for serving GraphQL from Laravel
https://lighthouse-php.com
MIT License
3.36k stars 438 forks source link

Correct decay value calculation in `@throttle` directive #2573

Closed travisricks closed 3 months ago

travisricks commented 3 months ago

Resolves https://github.com/nuwave/lighthouse/issues/2569

Changes

Fix bug when converting seconds to minutes - use / instead of *

Breaking changes

n/a

travisricks commented 3 months ago

@spawnia thanks for fixing my lint error. I haven't used Carbon::createStrict() before.