From 0b762cebf0db8eeafcdaf9dcdf25ba8a940adcd1 Mon Sep 17 00:00:00 2001 From: Abel Busto Dopazo Date: Wed, 3 May 2023 03:11:10 +0200 Subject: [PATCH] Fix bug??? --- restapi/api.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/restapi/api.ts b/restapi/api.ts index 22e57c5..4cb852e 100644 --- a/restapi/api.ts +++ b/restapi/api.ts @@ -1,21 +1,7 @@ import express, { Request, Response, Router } from 'express'; import * as fac from './src/facade'; -import { left } from '@cloudinary/url-gen/qualifiers/textAlignment'; const api: Router = express.Router() -/* -api.get( - "/usermanager/find/username", - async (req: Request, res: Response): Promise => { - try { - const username = req.query.username.toString(); - const user = await fac.FactoryLoMap.getUserManager().buscarUsuario(username); - return res.status(200).send(user); - } catch (err) { - return res.status(404).send({ "error": err.message }) - } - } -);*/ api.post( "/usermanager/edit",