mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 01:59:08 +00:00
fix tests
This commit is contained in:
parent
1dd910a5f6
commit
8ea7746dd5
6 changed files with 34 additions and 13 deletions
|
@ -1,8 +1,8 @@
|
|||
import { hasPermission, permissions, hasPermissionOrAdmin } from './hasPermission';
|
||||
import { Role } from 'roleypoly/rpc/shared';
|
||||
import { Role } from 'roleypoly/common/types';
|
||||
import { guildRoles } from 'roleypoly/common/types/storyData';
|
||||
|
||||
const roles: Role.AsObject[] = [
|
||||
const roles: Role[] = [
|
||||
{
|
||||
...guildRoles.rolesList[0],
|
||||
permissions: permissions.ADMINISTRATOR,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue