Youtube: change channel parameter

This commit is contained in:
Arthi-chaud
2022-03-05 21:43:58 +01:00
parent 00a3762133
commit 4a7c91b725
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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"
}
}
],
+1 -1
View File
@@ -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({