badmfck-api-server 2.1.5 → 2.1.7

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.
@@ -417,7 +417,7 @@ class MysqlService extends BaseService_1.BaseService {
417
417
  }
418
418
  async queryAsync(conn, query) {
419
419
  try {
420
- const result = await conn.query(query);
420
+ const result = await conn.execute(query);
421
421
  return {
422
422
  err: null,
423
423
  results: result[0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "2.1.5",
3
+ "version": "2.1.7",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",