From d17c7b4e8c52317bdc874917387b7a49f6cf8b01 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Dec 2021 10:14:47 +0100 Subject: Fix shared imports --- server/middlewares/user-right.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/middlewares/user-right.ts') diff --git a/server/middlewares/user-right.ts b/server/middlewares/user-right.ts index ea95b16c2..7d53e8341 100644 --- a/server/middlewares/user-right.ts +++ b/server/middlewares/user-right.ts @@ -1,6 +1,5 @@ import express from 'express' -import { UserRight } from '../../shared' -import { HttpStatusCode } from '../../shared/models/http/http-error-codes' +import { HttpStatusCode, UserRight } from '@shared/models' import { logger } from '../helpers/logger' function ensureUserHasRight (userRight: UserRight) { -- cgit v1.2.3