Skip to content

Commit

Permalink
fix: missing bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
skick1234 committed Jun 11, 2024
1 parent 31f890b commit 120c9c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ const saveCache = (parsed, opts) => {
parsed.context = UTIL.buildPostContext(CACHE.get('clientVersion'), opts);
}
const plParams =
UTIL.getPlaylistParams(parsed) || parsed.body
? UTIL.betweenFromRight(parsed.body, `"params":"`, '"}},"tooltip":"Search for Playlist"')
: null;
UTIL.getPlaylistParams(parsed) ||
(parsed.body ? UTIL.betweenFromRight(parsed.body, `"params":"`, '"}},"tooltip":"Search for Playlist"') : null);
if (plParams) CACHE.set('playlistParams', plParams);
};

Expand Down

0 comments on commit 120c9c3

Please sign in to comment.