feat: created auth hook on TClient
This commit is contained in:
@@ -19,9 +19,9 @@ public class Startup(IConfiguration configuration)
|
||||
services.AddControllers();
|
||||
services.AddLogging();
|
||||
|
||||
await using var rabbitMqConnection = await new ConnectionFactory
|
||||
var rabbitMqConnection = await new ConnectionFactory
|
||||
{
|
||||
HostName = "jobot-rabbitmq"
|
||||
HostName = "rabbitmq"
|
||||
}.CreateConnectionAsync();
|
||||
var channel = await rabbitMqConnection.CreateChannelAsync();
|
||||
await channel.QueueDeclareAsync(
|
||||
|
||||
Reference in New Issue
Block a user