Refactor RabbitMqEmailQueue to OutgoingEmailQueue
Replaced `RabbitMqEmailQueue` with `OutgoingEmailQueue` in the dependency injection container to reflect the updated class name. Renamed the class `RabbitMqEmailQueue` to `OutgoingEmailQueue` in `OutgoingEmailQueue.cs`, including updates to the constructor and logger type. This refactor aligns the class name with its purpose and improves clarity in the codebase.
This commit is contained in:
@@ -31,7 +31,7 @@ public static class DependencyInjection
|
||||
services.AddSingleton<IEncryptionService, DataProtectionEncryptionService>();
|
||||
|
||||
// --- Email Queue (RabbitMQ) ---
|
||||
services.AddSingleton<IEmailQueue, RabbitMqEmailQueue>();
|
||||
services.AddSingleton<IEmailQueue, OutgoingEmailQueue>();
|
||||
|
||||
// --- RabbitMQ Configuration ---
|
||||
services.Configure<RabbitMqConfiguration>(
|
||||
|
||||
Reference in New Issue
Block a user