Fix reference to undefined object

This commit is contained in:
Rafał Dzięgiel
2021-03-16 13:44:22 +01:00
parent 918157be04
commit f1e00434ba

View File

@@ -166,7 +166,7 @@ var YouTubeClient = GObject.registerClass({
continue; continue;
} }
actions = YTDL.sig.extractActions(pBody); actions = YTDL.sig.extractActions(result.data);
if(actions) { if(actions) {
debug('deciphered'); debug('deciphered');
this._createCacheFileAsync(ytId, actions); this._createCacheFileAsync(ytId, actions);