Skip to content

Commit

Permalink
Problem same name of queue
Browse files Browse the repository at this point in the history
  • Loading branch information
cesxhin committed Oct 15, 2023
1 parent 9ab4abb commit a2d3922
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Cesxhin.AnimeManga.NotifyService/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,32 +67,32 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>

if (selectService == "discord" || selectService == "any")
{
cfg.ReceiveEndpoint("notify-video", e => {
cfg.ReceiveEndpoint("notify-video-discord", e => {
e.Consumer<NotifyVideoConsumer>();
});
cfg.ReceiveEndpoint("notify-book", e => {
cfg.ReceiveEndpoint("notify-book-discord", e => {
e.Consumer<NotifyBookConsumer>();
});
cfg.ReceiveEndpoint("notify-request-video", e => {
cfg.ReceiveEndpoint("notify-request-video-discord", e => {
e.Consumer<NotifyRequestVideoConsumer>();
});
cfg.ReceiveEndpoint("notify-request-book", e => {
cfg.ReceiveEndpoint("notify-request-book-discord", e => {
e.Consumer<NotifyRequestBookConsumer>();
});
}

if(selectService == "telegram" || selectService == "any")
{
cfg.ReceiveEndpoint("notify-video", e => {
cfg.ReceiveEndpoint("notify-video-telegram", e => {
e.Consumer<NotifyVideoTelegramConsumer>();
});
cfg.ReceiveEndpoint("notify-book", e => {
cfg.ReceiveEndpoint("notify-book-telegram", e => {
e.Consumer<NotifyBookTelegramConsumer>();
});
cfg.ReceiveEndpoint("notify-request-video", e => {
cfg.ReceiveEndpoint("notify-request-video-telegram", e => {
e.Consumer<NotifyRequestVideoTelegramConsumer>();
});
cfg.ReceiveEndpoint("notify-request-book", e => {
cfg.ReceiveEndpoint("notify-request-book-telegram", e => {
e.Consumer<NotifyRequestBookTelegramConsumer>();
});
}
Expand Down

0 comments on commit a2d3922

Please sign in to comment.