diff --git a/api/src/controllers/delivery-note.controller.ts b/api/src/controllers/delivery-note.controller.ts index 750afde..8117f00 100644 --- a/api/src/controllers/delivery-note.controller.ts +++ b/api/src/controllers/delivery-note.controller.ts @@ -35,7 +35,7 @@ export default async function (fastify: FastifyInstance) { let payload: any = { data: [{ action: request.params.document_type.toUpperCase(), - docNum: request.query.dm + docNum: request.query.dm.replaceAll(' ', '').replaceAll('%20', '') }] }