badmfck-api-server 2.1.5 → 2.1.7

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