diff options
Diffstat (limited to 'server/middlewares/user-right.ts')
-rw-r--r-- | server/middlewares/user-right.ts | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ | |||
1 | import express from 'express' | 1 | import express from 'express' |
2 | import { UserRight } from '../../shared' | 2 | import { HttpStatusCode, UserRight } from '@shared/models' |
3 | import { HttpStatusCode } from '../../shared/models/http/http-error-codes' | ||
4 | import { logger } from '../helpers/logger' | 3 | import { logger } from '../helpers/logger' |
5 | 4 | ||
6 | function ensureUserHasRight (userRight: UserRight) { | 5 | function ensureUserHasRight (userRight: UserRight) { |