badmfck-api-server 1.6.8 → 1.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,7 +150,7 @@ class MysqlService extends BaseService_1.BaseService {
150
150
  else
151
151
  value = "NULL";
152
152
  }
153
- if (!value)
153
+ if (value === null || value === undefined)
154
154
  return "NULL";
155
155
  return value;
156
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "1.6.8",
3
+ "version": "1.6.9",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",