aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/utils/videos
diff options
context:
space:
mode:
Diffstat (limited to 'shared/utils/videos')
-rw-r--r--shared/utils/videos/video-playlists.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/shared/utils/videos/video-playlists.ts b/shared/utils/videos/video-playlists.ts
index 4af52ec0f..b84b21623 100644
--- a/shared/utils/videos/video-playlists.ts
+++ b/shared/utils/videos/video-playlists.ts
@@ -265,9 +265,21 @@ async function checkPlaylistFilesWereRemoved (
265 } 265 }
266} 266}
267 267
268function getVideoPlaylistPrivacies (url: string) {
269 const path = '/api/v1/video-playlists/privacies'
270
271 return makeGetRequest({
272 url,
273 path,
274 statusCodeExpected: 200
275 })
276}
277
268// --------------------------------------------------------------------------- 278// ---------------------------------------------------------------------------
269 279
270export { 280export {
281 getVideoPlaylistPrivacies,
282
271 getVideoPlaylistsList, 283 getVideoPlaylistsList,
272 getVideoChannelPlaylistsList, 284 getVideoChannelPlaylistsList,
273 getAccountPlaylistsList, 285 getAccountPlaylistsList,