]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/videos/playlists-command.ts
Shorter server command names
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / videos / playlists-command.ts
index 75c8f2433c326e48831ea7c061f2221d7f222561..cbfc7e10f3470c40c75dc6f0b671f9949fe67ef1 100644 (file)
@@ -184,7 +184,7 @@ export class PlaylistsCommand extends AbstractCommand {
     const attributes = {
       ...options.attributes,
 
-      videoId: await this.server.videosCommand.getId({ ...options, uuid: options.attributes.videoId })
+      videoId: await this.server.videos.getId({ ...options, uuid: options.attributes.videoId })
     }
 
     const path = '/api/v1/video-playlists/' + options.playlistId + '/videos'