Temporarily fix channel id extraction from watch object

This commit is contained in:
Preston 2020-12-06 20:18:08 -05:00
parent 7eb0a400c5
commit c59b8333d7
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ export default Vue.extend({
10
)
if ('id' in result.videoDetails.author) {
this.channelId = result.videoDetails.author.id
this.channelId = result.player_response.videoDetails.channelId
this.channelName = result.videoDetails.author.name
console.log(result)
this.channelThumbnail = result.videoDetails.author.thumbnails[0].url