fix: format code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-07-19 12:24:51 +02:00
parent d75d406e67
commit 34bf8f16b1
14 changed files with 46 additions and 22 deletions

View file

@ -47,8 +47,8 @@ async function findNotePermissionByGroup(
function isSpecialGroup(group: Group): boolean {
return (
group.special &&
(group.name === SpecialGroup.LOGGED_IN ||
group.name === SpecialGroup.EVERYONE)
(group.name === (SpecialGroup.LOGGED_IN as string) ||
group.name === (SpecialGroup.EVERYONE as string))
);
}