mirror of
https://github.com/zoriya/Aeris.git
synced 2026-06-04 11:24:31 +00:00
Youtube: change channel parameter
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
},
|
||||
"params": [
|
||||
{
|
||||
"name": "channel",
|
||||
"name": "channel_id",
|
||||
"type": "string",
|
||||
"description": {
|
||||
"en": "Name of the channel to watch over",
|
||||
"fr": "Le nom de la chaîne à regarder"
|
||||
"en": "ID of the channel to watch over",
|
||||
"fr": "L'ID de la chaîne à regarder"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -40,7 +40,7 @@ export class Youtube extends BaseService {
|
||||
});
|
||||
}
|
||||
|
||||
@action(PipelineType.OnYtUpload, ["channel"])
|
||||
@action(PipelineType.OnYtUpload, ["channel_id"])
|
||||
listenChannel(params: any): Observable<PipelineEnv> {
|
||||
return Utils.longPulling(async (since) => {
|
||||
const ret = await this._youtube.activities.list({
|
||||
|
||||
Reference in New Issue
Block a user