From 5b900427a921e43934a7568261349ec650ab5ddf Mon Sep 17 00:00:00 2001 From: Jamie Vangeysel <32323785+JamieVangeysel@users.noreply.github.com> Date: Wed, 11 Sep 2024 14:39:58 +0200 Subject: [PATCH] replace with empty char --- api/src/controllers/delivery-note.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/controllers/delivery-note.controller.ts b/api/src/controllers/delivery-note.controller.ts index 2f8a0d4..f1939a5 100644 --- a/api/src/controllers/delivery-note.controller.ts +++ b/api/src/controllers/delivery-note.controller.ts @@ -36,7 +36,7 @@ export default async function (fastify: FastifyInstance) { data: [{ action: request.params.document_type.toUpperCase(), docNum: request.query.dm - .replace(/\xA0/g, ' ') + .replace(/\xA0/g, '') }] }