Skip to content

Commit

Permalink
feat(account): Add missing property channel_handle (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
asomethings authored Oct 29, 2024
1 parent 4ec4be6 commit 677e1f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parser/classes/AccountItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default class AccountItem extends YTNode {
has_channel: boolean;
endpoint: NavigationEndpoint;
account_byline: Text;
channel_handle: Text;

constructor(data: RawNode) {
super();
Expand All @@ -27,5 +28,6 @@ export default class AccountItem extends YTNode {
this.has_channel = !!data.hasChannel;
this.endpoint = new NavigationEndpoint(data.serviceEndpoint);
this.account_byline = new Text(data.accountByline);
this.channel_handle = new Text(data.channelHandle);
}
}

0 comments on commit 677e1f0

Please sign in to comment.