Item section target_id fix (#655)

This commit is contained in:
Brahim Hadriche
2024-04-29 13:22:28 -04:00
committed by GitHub
parent 1b00e2c6ce
commit 810665407e

View File

@@ -19,7 +19,7 @@ export default class ItemSection extends YTNode {
this.contents = Parser.parseArray(data.contents);
if (data.targetId || data.sectionIdentifier) {
this.target_id = data.target_id || data.sectionIdentifier;
this.target_id = data.targetId || data.sectionIdentifier;
}
if (data.continuations) {