eduardomoroni/trading-card-manager

View on GitHub
packages/backend/db-migration/prisma/seed/set.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function addToken has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function addToken(token: any, set: any) {
  try {
    console.log(`Adding Token ${token.name}`);
    const uuid: string = token.uuid;
    const data: TokenCreateInput = {
Severity: Minor
Found in packages/backend/db-migration/prisma/seed/set.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status