@azteam/rabbitmq-async 1.0.221 → 1.0.223

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.
@@ -352,7 +352,7 @@ var RabbitMQAsync = /*#__PURE__*/function () {
352
352
  _context7.next = 14;
353
353
  break;
354
354
  case 11:
355
- if (!data.notCheck) {
355
+ if (data.notCheck) {
356
356
  _context7.next = 14;
357
357
  break;
358
358
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azteam/rabbitmq-async",
3
- "version": "1.0.221",
3
+ "version": "1.0.223",
4
4
  "description": "N/A",
5
5
  "keywords": [
6
6
  "toda",
@@ -16,7 +16,7 @@
16
16
  "prepublishOnly": "babel src --delete-dir-on-start -d lib"
17
17
  },
18
18
  "dependencies": {
19
- "@azteam/util": "1.0.59",
19
+ "@azteam/util": "1.0.60",
20
20
  "amqplib": "0.8.0",
21
21
  "fs-extra": "10.1.0",
22
22
  "lodash": "4.17.21"
@@ -139,7 +139,7 @@ class RabbitMQAsync {
139
139
  data.retry -= 1;
140
140
  if (data.retry > 0) {
141
141
  await messageQueue.send(queueName, data);
142
- } else if (data.notCheck) {
142
+ } else if (!data.notCheck) {
143
143
  await messageQueue.send(messageQueue.parsePrefix(messageQueue.retryKey), {
144
144
  queueName,
145
145
  data,