Compare commits
No commits in common. "feature/use_channel_name" and "master" have entirely different histories.
feature/us
...
master
|
@ -105,18 +105,6 @@ class PeerTubeRequester {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async getChannelId(channelName: string): Promise<number> {
|
|
||||||
const response = await fetch(
|
|
||||||
new URL(`/api/v1/videos-channels/${channelName}`, this.domainName),
|
|
||||||
{
|
|
||||||
method: "gett"
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
const { id } = await response.json();
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export { PeerTubeRequester };
|
export { PeerTubeRequester };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user