Started work on improved channel guide rendering

This commit is contained in:
rainbow napkin 2026-11-09 04:05:55 -05:00
parent 0291904534
commit c3483627d8
6 changed files with 125 additions and 54 deletions

View file

@ -1012,6 +1012,18 @@ class canopyAjaxUtils{
}
//Channel
async getChannels(){
var response = await fetch(`/api/channel/list`,{
method: "GET"
});
if(response.ok){
return await response.json();
}else{
utils.ux.displayResponseError(await response.json());
}
}
async newChannel(name, description, thumbnail, verification){
var response = await fetch(`/api/channel/register`,{
method: "POST",