tningjs/sam-and-his-friends

View on GitHub
src/routes/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (router = new Router()) => {
    router.get('/', async (req, res) => {
        const { currentPage = 0, subcategory = '' } = req.query;

        // data for posts componnt
Severity: Minor
Found in src/routes/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status