Finalização do recurso de atualização

pull/20/head
adriano 2023-04-20 08:18:55 -03:00
parent 0bc0d47c84
commit 9f60cf3049
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export const hit = async (req: Request, res: Response): Promise<Response> => {
console.log('req.boy: ', req.body) console.log('req.boy: ', req.body)
console.log('req.boy: ', req.body['centro_custo']) console.log('req.boy: ', req.body['centro_custo'])
console.log('ACTION: ', req.body['action']) console.log('ACTION: ', req.body['action'])
if (req.headers["auth"] === '0424bd59b807674191e7d77572075f33') { if (req.headers["auth"] === '0424bd59b807674191e7d77572075f33') {
@ -43,6 +43,7 @@ export const hit = async (req: Request, res: Response): Promise<Response> => {
console.log('There was an error on try get centro_custo info: ', error) console.log('There was an error on try get centro_custo info: ', error)
} }
if (req.body['action'] === 'atdfechou') { if (req.body['action'] === 'atdfechou') {