Skip to content

Commit 43ef843

Browse files
cleanup
1 parent db38146 commit 43ef843

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Backend/Altafraner.AfraApp/Notifications/Services/CompositeNotificationService.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public CompositeNotificationService(
3333
/// <inheritdoc />
3434
public async Task ScheduleNotificationAsync(Guid recipientId, string subject, string body, TimeSpan deadline)
3535
{
36-
Console.WriteLine("composite");
37-
3836
await _inApp.SendInAppNotificationAsync(recipientId, subject, body);
3937

4038
var wantsEmail = await _db.Personen

Backend/Altafraner.Backbone.WebNotification/WebNotificationsModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void ConfigureServices(IServiceCollection services, IConfiguration config
2929
services.AddScoped<IWebNotificationContext<TPerson>>(sp =>
3030
{
3131
var settings = sp.GetRequiredService<IOptions<VapidConfiguration<TPerson>>>();
32-
var contextType = settings.Value.DbContextType ?? throw new InvalidOperationException("Cannot find VaapidConfiguration");
32+
var contextType = settings.Value.DbContextType ?? throw new InvalidOperationException("Cannot find VapidConfiguration");
3333
return sp.GetRequiredService(contextType) as IWebNotificationContext<TPerson> ??
3434
throw new InvalidOperationException("Module not configured");
3535
}

0 commit comments

Comments
 (0)