Skip to content

Commit d576fa1

Browse files
committed
🐛 Fix video id when add to playlist
1 parent f4fc6bc commit d576fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/yutuber/video/video.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ func (v *video) Insert(silent bool) {
214214
playlistItem.WithTitle(res.Snippet.Title),
215215
playlistItem.WithDescription(res.Snippet.Description),
216216
playlistItem.WithKind("video"),
217-
playlistItem.WithVideoId(res.Id),
217+
playlistItem.WithKVideoId(res.Id),
218218
playlistItem.WithPlaylistId(v.PlaylistId),
219219
playlistItem.WithChannelId(res.Snippet.ChannelId),
220220
playlistItem.WithPrivacy(res.Status.PrivacyStatus),

0 commit comments

Comments
 (0)