diff --git a/src/src/StevesBot.Webhook/YouTube/Handlers/NotificationHandler.cs b/src/src/StevesBot.Webhook/YouTube/Handlers/NotificationHandler.cs index c7257e3..7d809f7 100644 --- a/src/src/StevesBot.Webhook/YouTube/Handlers/NotificationHandler.cs +++ b/src/src/StevesBot.Webhook/YouTube/Handlers/NotificationHandler.cs @@ -9,7 +9,7 @@ internal static class NotificationHandler [FromServices] IDiscordRestClient discordRestClient, [FromServices] IOptionsMonitor discordNotificationOptions, [FromServices] ILastPostedStreamStore lastPostedStream, - CancellationToken cancellationToken + CancellationToken cancellationToken = default ) { using StreamReader stream = new(context.Request.Body); diff --git a/src/tests/StevesBot.Webhook.Tests/Unit/NotificationHandlerTests.cs b/src/tests/StevesBot.Webhook.Tests/Unit/NotificationHandlerTests.cs new file mode 100644 index 0000000..64e8ccc --- /dev/null +++ b/src/tests/StevesBot.Webhook.Tests/Unit/NotificationHandlerTests.cs @@ -0,0 +1,6 @@ +namespace StevesBot.Webhook.Tests.Unit; + +public class NotificationHandlerTests +{ + +} \ No newline at end of file