badmfck-api-server 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -122,7 +122,7 @@ class MysqlService extends BaseService_1.BaseService {
122
122
  static prepareQueryFieldValue(value, system) {
123
123
  if (!system && typeof value === "string") {
124
124
  value = value ? value.replaceAll('"', '\\"') : null;
125
- if (value !== null)
125
+ if (value !== null && value !== undefined)
126
126
  value = '"' + value + '"';
127
127
  else
128
128
  value = "NULL";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",