diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-17 16:39:32 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-19 11:30:21 +0200 |
commit | 371906639ee9b6ea4daae504bc7c2b15856c3f38 (patch) | |
tree | a1807d7e5648a8b99565cc22daa22a1afbb34db4 /server/controllers/activitypub | |
parent | b75410b87d889ae5b1704cc7f9d32a3792db9075 (diff) | |
download | PeerTube-371906639ee9b6ea4daae504bc7c2b15856c3f38.tar.gz PeerTube-371906639ee9b6ea4daae504bc7c2b15856c3f38.tar.zst PeerTube-371906639ee9b6ea4daae504bc7c2b15856c3f38.zip |
Add ability to a video multiple times in a playlist
Diffstat (limited to 'server/controllers/activitypub')
-rw-r--r-- | server/controllers/activitypub/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/activitypub/client.ts b/server/controllers/activitypub/client.ts index acce53713..1da44d096 100644 --- a/server/controllers/activitypub/client.ts +++ b/server/controllers/activitypub/client.ts | |||
@@ -159,7 +159,7 @@ activityPubClientRouter.get('/video-playlists/:playlistId', | |||
159 | asyncMiddleware(videoPlaylistsGetValidator('all')), | 159 | asyncMiddleware(videoPlaylistsGetValidator('all')), |
160 | asyncMiddleware(videoPlaylistController) | 160 | asyncMiddleware(videoPlaylistController) |
161 | ) | 161 | ) |
162 | activityPubClientRouter.get('/video-playlists/:playlistId/:videoId', | 162 | activityPubClientRouter.get('/video-playlists/:playlistId/videos/:playlistElementId', |
163 | executeIfActivityPub, | 163 | executeIfActivityPub, |
164 | asyncMiddleware(videoPlaylistElementAPGetValidator), | 164 | asyncMiddleware(videoPlaylistElementAPGetValidator), |
165 | videoPlaylistElementController | 165 | videoPlaylistElementController |