Skip to content

Commit

Permalink
try to replace spaces in dm code
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieVangeysel committed Sep 11, 2024
1 parent 4b1e897 commit 6a8c434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/controllers/delivery-note.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', '')
}]
}

Expand Down

0 comments on commit 6a8c434

Please sign in to comment.