Skip to content

Commit

Permalink
fix error in load mode xml2xml
Browse files Browse the repository at this point in the history
  • Loading branch information
VasilevVitalii committed Aug 5, 2023
1 parent cbb1274 commit 2fd62d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mssqlapifile-app",
"version": "1.0.4",
"version": "1.0.5",
"description": "Files loader to Microsoft SQL Server",
"main": "dist/src/index.js",
"bin": "dist/src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/worker/mssql.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const timerProcess = new Timer(5000, async () => {
}
query = query
.replaceAll('{datatype}', 'XML')
.replaceAll('{data}', data?.replaceAll(`'`, `''`))
.replaceAll('{data}', data?.replaceAll(`'`, `''`)).replaceAll('{N}','N')
} else {
throw new Error(`in setting unknown scan.modeLoad = "${command.stamp.modeLoad}"`)
}
Expand Down

0 comments on commit 2fd62d9

Please sign in to comment.