Skip to content

Commit

Permalink
Update channel description if pulling metadata anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxocube committed Jan 10, 2025
1 parent c488a61 commit 51c3a06
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ public async Task Consume(ConsumeContext<SynchroniseSubscriptionContract<Youtube
channelResult.Snippet.Thumbnails,
logger,
context.CancellationToken);

if (channelResult?.Snippet?.Description != null)
subscription.Description = channelResult.Snippet.Description;
}

try
Expand Down

0 comments on commit 51c3a06

Please sign in to comment.