Skip to content

Commit

Permalink
change type for video notification to Video
Browse files Browse the repository at this point in the history
  • Loading branch information
granstel committed Mar 18, 2024
1 parent 8aead4a commit 7150019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dodo1000Bot.Models/NotificationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ public enum NotificationType
SubscribersCount = 9,
Admin = 10,
Emoji = 11,
Video = 12,
}
2 changes: 1 addition & 1 deletion Dodo1000Bot.Services/YoutubeService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public async Task CheckAndNotify(CancellationToken cancellationToken)
continue;
}

var notification = new Notification(NotificationType.Admin)
var notification = new Notification(NotificationType.Video)
{
Payload = new NotificationPayload
{
Expand Down

0 comments on commit 7150019

Please sign in to comment.