Switch to nuxt assets for emojis (#311)
* switch to nuxt assets for emojis * add auth to emoji endpoint * fix cache control header * fix type error
This commit is contained in:
@@ -284,7 +284,8 @@ class TaskHandler {
|
||||
return;
|
||||
}
|
||||
|
||||
const allowed = await aclManager.hasACL(request, task.acls);
|
||||
// cast acls due to prisma types being less strict
|
||||
const allowed = await aclManager.hasACL(request, task.acls as GlobalACL[]);
|
||||
if (!allowed) {
|
||||
// logger.warn("user does not have necessary ACLs");
|
||||
peer.send(
|
||||
|
||||
Reference in New Issue
Block a user