Fix linting.

This commit is contained in:
elweyn 2022-08-15 11:05:11 +02:00
parent b41f34a3dd
commit d3238fd486
3 changed files with 2 additions and 6 deletions

View File

@ -32,7 +32,6 @@ export enum RIGHTS {
UPDATE_CONTRIBUTION = 'UPDATE_CONTRIBUTION',
LIST_CONTRIBUTION_LINKS = 'LIST_CONTRIBUTION_LINKS',
SEARCH_ADMIN_USERS = 'SEARCH_ADMIN_USERS',
// Admin
SEARCH_USERS = 'SEARCH_USERS',
SET_USER_ROLE = 'SET_USER_ROLE',

View File

@ -28,11 +28,8 @@ export const ROLE_USER = new Role('user', [
RIGHTS.LIST_CONTRIBUTIONS,
RIGHTS.LIST_ALL_CONTRIBUTIONS,
RIGHTS.UPDATE_CONTRIBUTION,
<<<<<<< HEAD
RIGHTS.SEARCH_ADMIN_USERS,
=======
RIGHTS.LIST_CONTRIBUTION_LINKS,
>>>>>>> master
])
export const ROLE_ADMIN = new Role('admin', Object.values(RIGHTS)) // all rights

View File

@ -1,5 +1,5 @@
import { User } from "@entity/User"
import { Field, Int, ObjectType } from "type-graphql"
import { User } from '@entity/User'
import { Field, Int, ObjectType } from 'type-graphql'
@ObjectType()
export class AdminUser {