users/writer_profiles/writersProfileRouter.js
File writersProfileRouter.js
has 333 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
const router = require("express").Router();
const Writers = require("./writersProfileModel");
const restricted = require("../../auth/middleware/restricted");
const checkUserId = require("../../auth/middleware/verifyUserId");