.expect('Content-Type', /json/)
}
-function getAuthorVideoChannelsList (url: string, authorId: number | string) {
- const path = '/api/v1/videos/authors/' + authorId + '/channels'
+function getAccountVideoChannelsList (url: string, accountId: number | string) {
+ const path = '/api/v1/videos/accounts/' + accountId + '/channels'
return request(url)
.get(path)
export {
getVideoChannelsList,
- getAuthorVideoChannelsList,
+ getAccountVideoChannelsList,
addVideoChannel,
updateVideoChannel,
deleteVideoChannel,