mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 20:41:17 +00:00
feat(account): Add missing property channel_handle (#789)
This commit is contained in:
@@ -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();
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user