src/web/routes_groups/list.ts
Function setListRoutes
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const setListRoutes = (app: FastifyInstance) => {
// paginated retrieve websites from the database.
app.get("/api/list/website", async (req, res) => {
const { userId, offset, limit } = getBaseParamsList(req);