chore: feedback improvements
This commit is contained in:
@@ -1,5 +1 @@
|
||||
import { Role, User } from '@documenso/prisma/client';
|
||||
|
||||
const isAdmin = (user: User) => user.roles.includes(Role.ADMIN);
|
||||
|
||||
export { isAdmin };
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user