From fef32f634df0978f61048118b419c14bf925acf2 Mon Sep 17 00:00:00 2001 From: Mohammad Twin Date: Fri, 15 Sep 2023 10:30:39 +0400 Subject: [PATCH] feat: transaction step was updated in the saga feat: package.json version was increased --- package.json | 2 +- src/saga/transaction.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4cfdbef..2f83f95 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@togethercrew.dev/tc-messagebroker", - "version": "0.0.41", + "version": "0.0.42", "description": "a service that include common things that need in every microservies ", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/saga/transaction.ts b/src/saga/transaction.ts index 1fd72ec..4c9bb54 100644 --- a/src/saga/transaction.ts +++ b/src/saga/transaction.ts @@ -76,8 +76,8 @@ export const TWITTER_REFRESH_TRANSACTIONS: ITransaction[] = [ ...DEFAULT_TRANSACTION_PROPERTY }, { - queue: Queue.TWITTER_BOT, - event: Event.TWITTER_BOT.SEND_MESSAGE, + queue: Queue.DISCORD_BOT, + event: Event.DISCORD_BOT.SEND_MESSAGE, order: 4, ...DEFAULT_TRANSACTION_PROPERTY }