Refactor: simplify `acceptsLanguages` implementation using spread operator (#6137)
Refactored `req.acceptsLanguages` to use the spread operator for passing arguments directly to `accept.languages`, eliminating the need for `.apply`. This approach improves readability and streamlines the function call.
A
Ayoub Mabrouk committed
3dc96995df98cd76d8d31f3b6825401f25899be0
Parent: fa40ecf
Committed by GitHub <noreply@github.com>
on 4/11/2025, 1:49:23 AM