badmfck-api-server 1.2.5 → 1.2.6

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.
@@ -48,7 +48,7 @@ class MysqlService extends BaseService_1.BaseService {
48
48
  }
49
49
  async recreatePool() {
50
50
  if (this.options.onLog)
51
- this.options.onLog(2, "Mysql server trying to create pool");
51
+ this.options.onLog(1, "Mysql server trying to create pool");
52
52
  this.serviceStarted = false;
53
53
  const ok = await this.createPool();
54
54
  if (!ok) {
@@ -256,7 +256,7 @@ class MysqlService extends BaseService_1.BaseService {
256
256
  }
257
257
  async createPool() {
258
258
  if (this.options.onLog)
259
- this.options.onLog(1, "Connecting to mysql: \n HOST: " + this.options.host + '\n USER:' + this.options.user + '\n PORT:' + this.options.port);
259
+ this.options.onLog(1, "Connecting to mysql: \n HOST: " + this.options.host + '\n PORT:' + this.options.port);
260
260
  let err = false;
261
261
  if (this.pool) {
262
262
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",