src/web/params/web.ts
Function getWebParams
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getWebParams = (req: FastifyContext["request"]) => {
const url = paramParser(req, "url");
const customHeaders = paramParser(req, "customHeaders");
const mobile = paramParser(req, "mobile");
const pageInsights = paramParser(req, "pageInsights");