@azteam/rabbitmq-async 1.0.135 → 1.0.138

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/rabbitmq-async",
3
- "version": "1.0.135",
3
+ "version": "1.0.138",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "engines": {
@@ -173,6 +173,8 @@ class RabbitMQAsync {
173
173
  } catch (err) {
174
174
  reject(err);
175
175
  }
176
+ } else {
177
+ await channel.ack(msg);
176
178
  }
177
179
  });
178
180
  });