LearnersGuild/echo

View on GitHub
src/common/actions/chapter.js

Summary

Maintainability
A
1 hr
Test Coverage

Function addInviteCodeToChapter has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function addInviteCodeToChapter(id, inviteCodeData) {
  // because invite codes are stored in `idm` but chapter data lives in
  // `echo`, we first need to create the invite code through `idm`, then
  // associate it with the chapter in `echo`
  return {
Severity: Minor
Found in src/common/actions/chapter.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status