Started work on emotes schema and administration endpoints. Improvements to Link/Media embeds in chat.
This commit is contained in:
parent
1ce2fc3c22
commit
12922658b9
9 changed files with 266 additions and 19 deletions
|
|
@ -215,6 +215,18 @@ class canopyAdminUtils{
|
|||
utils.ux.displayResponseError(await response.json());
|
||||
}
|
||||
}
|
||||
|
||||
async getEmotes(){
|
||||
var response = await fetch(`/api/admin/emote`,{
|
||||
method: "GET"
|
||||
});
|
||||
|
||||
if(response.status == 200){
|
||||
return await response.json();
|
||||
}else{
|
||||
utils.ux.displayResponseError(await response.json());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class adminUserList{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue