Skip to content

Commit

Permalink
Fix parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV committed Oct 21, 2020
1 parent 129e491 commit 807585a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/chat-plugins/the-studio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ class RecommendationsInterface {
}

async render(rec: Recommendation, suggested = false) {
const videoID = YouTube.getId(rec.url);
const videoInfo = await YouTube.getVideoData(videoID);
const videoInfo = await YouTube.getVideoData(rec.url);
let buf = ``;
buf += `<div style="color:#000;background:linear-gradient(rgba(210,210,210),rgba(225,225,225))">`;
buf += `<table style="margin:auto;background:rgba(255,255,255,0.25);padding:3px;"><tbody><tr>`;
Expand Down

0 comments on commit 807585a

Please sign in to comment.