MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/actions/notifications.js

Summary

Maintainability
A
1 hr
Test Coverage
D
66%

Function notificationsFetchData has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

export function notificationsFetchData(limit = 5, page = 1, ordering = '-date_created', tags = undefined, isRead = undefined, useDateRange = true) {
Severity: Minor
Found in src/actions/notifications.js - About 45 mins to fix

    Function markNotification has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export function markNotification(id, isRead = true, shouldDelete = false,
      bypassTrackerUpdate = false, cb = () => {}) {
    Severity: Minor
    Found in src/actions/notifications.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status