Skip to content

Commit

Permalink
🐛 Fix video id when add to playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenWaygate committed Jul 8, 2024
1 parent f4fc6bc commit d576fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/yutuber/video/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (v *video) Insert(silent bool) {
playlistItem.WithTitle(res.Snippet.Title),
playlistItem.WithDescription(res.Snippet.Description),
playlistItem.WithKind("video"),
playlistItem.WithVideoId(res.Id),
playlistItem.WithKVideoId(res.Id),
playlistItem.WithPlaylistId(v.PlaylistId),
playlistItem.WithChannelId(res.Snippet.ChannelId),
playlistItem.WithPrivacy(res.Status.PrivacyStatus),
Expand Down

0 comments on commit d576fa1

Please sign in to comment.