Skip to content

Commit

Permalink
Merge pull request #131 from vtex-apps/fix/B2BTEAM-1444-dont-remove-f…
Browse files Browse the repository at this point in the history
…irst-character-document

Changed to remove special characters
  • Loading branch information
pabloppupulin authored Mar 14, 2024
2 parents 0614f72 + 2fd71c2 commit 8fe9bb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

- Changed to remove space instead of character

## [1.39.3] - 2024-02-27

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion node/resolvers/Routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export const Routes = {

businessDocument =
costCenterResponse.data.getCostCenterById.businessDocument?.replace(
/\D/,
/[^a-zA-Z0-9]*/,
''
)

Expand Down

0 comments on commit 8fe9bb6

Please sign in to comment.