Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavAntonyuk committed Jul 2, 2024
2 parents 275f3a7 + 7ffb2d7 commit 126099d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MauiNotifications/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static MauiApp CreateMauiApp()
builder.Services.AddSingleton<DeviceInstallationService>();

builder.Services.AddSingleton<INotificationHubClient, NotificationHubClient>(
_ => NotificationHubClient.CreateClientFromConnectionString("YOUR CONNECTION STRING", "MauiNotifications", true));
_ => NotificationHubClient.CreateClientFromConnectionString("YOUR CONNECTION STRING", "YOUR HUB NAME", true));

return builder.Build();
}
Expand Down

0 comments on commit 126099d

Please sign in to comment.