Finalização do recurso de atualização
parent
0bc0d47c84
commit
9f60cf3049
|
@ -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') {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue