Skip to content

Commit

Permalink
Ensure reminder services are added when adding Redis reminders (#8629)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenBond authored Sep 11, 2023
1 parent 28256db commit e498ee7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public static ISiloBuilder UseRedisReminderService(this ISiloBuilder builder, Ac
/// </returns>
public static IServiceCollection UseRedisReminderService(this IServiceCollection services, Action<RedisReminderTableOptions> configure)
{
services.AddReminders();
services.AddSingleton<IReminderTable, RedisReminderTable>();
services.Configure<RedisReminderTableOptions>(configure);
services.AddSingleton<IConfigurationValidator, RedisReminderTableOptionsValidator>();
Expand Down

0 comments on commit e498ee7

Please sign in to comment.