Olimpiadas-INET-2024-Escuela-Tecnica-21 / fase1_backend

Documentation comments not found for functions and classes JS-D1001
Documentation
Minor
4 occurrences in this check
Documentation comment not found for method definition validate
10        super(SellerModel)
11    }
12
13    async validate(req, res){ 14        
15        const seller = await this.findById(req)
16        const sellerKey = await Validator.createAuthToken({...seller, isSeller: true}, process.env.SELLER_TOKEN_KEY) //mismo caso que con el salesManager
Documentation comment not found for class SellerController
 4
 5const SellerModel = new Seller();
 6
 7class SellerController extends Controller{ 8
 9    constructor(){
10        super(SellerModel)
Documentation comment not found for method definition validate
10        super(ManagerModel)
11    }
12
13    async validate(req, res){ 14        
15        const manager = await this.findById(req)
16        const managerKey = await Validator.createAuthToken({...manager, isSeller: true}, process.env.MANAGER_TOKEN_KEY) //como no tengo el archivo env voy a inventar el nombre del token
Documentation comment not found for class SalesManagerController
 4
 5const ManagerModel = new SalesManager();
 6
 7class SalesManagerController extends Controller{ 8
 9    constructor(){
10        super(ManagerModel)