diff options
Diffstat (limited to 'shared/utils/search/video-channels.ts')
-rw-r--r-- | shared/utils/search/video-channels.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/shared/utils/search/video-channels.ts b/shared/utils/search/video-channels.ts deleted file mode 100644 index 0532134ae..000000000 --- a/shared/utils/search/video-channels.ts +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | import { makeGetRequest } from '../requests/requests' | ||
2 | |||
3 | function searchVideoChannel (url: string, search: string, token?: string, statusCodeExpected = 200) { | ||
4 | const path = '/api/v1/search/video-channels' | ||
5 | |||
6 | return makeGetRequest({ | ||
7 | url, | ||
8 | path, | ||
9 | query: { | ||
10 | sort: '-createdAt', | ||
11 | search | ||
12 | }, | ||
13 | token, | ||
14 | statusCodeExpected | ||
15 | }) | ||
16 | } | ||
17 | |||
18 | // --------------------------------------------------------------------------- | ||
19 | |||
20 | export { | ||
21 | searchVideoChannel | ||
22 | } | ||