badmfck-api-server 1.6.8 → 1.6.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -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",