api/migrations/20240919125411-young-add-missing-inprogress-status.js
Function up
has 1827 lines of code (exceeds 200 allowed). Consider refactoring. Open
Open
async up(db, client) {
const youngIds = [
"5ff4c48891eee307c6e53374",
"601489d9f8309807d83fe6ed",
"60193ccf25755907d83f85fe",
File 20240919125411-young-add-missing-inprogress-status.js
has 1836 lines of code (exceeds 700 allowed). Consider refactoring. Open
Open
const { addSeconds } = require("date-fns");
const { YoungModel } = require("../src/models");
const { logger } = require("../src/logger");
const { YOUNG_STATUS } = require("snu-lib");