1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Move uuid stuff in extra utils

Since it requires an external dependency
This commit is contained in:
Chocobozzz 2021-12-29 14:44:58 +01:00
parent fb3c9e2bf5
commit 0628157fe9
No known key found for this signature in database
GPG key ID: 583A612D890159BE
30 changed files with 44 additions and 28 deletions

View file

@ -7,7 +7,7 @@ import { handleOAuthToken } from '@server/lib/auth/oauth'
import { BypassLogin, revokeToken } from '@server/lib/auth/oauth-model'
import { Hooks } from '@server/lib/plugins/hooks'
import { asyncMiddleware, authenticate, openapiOperationDoc } from '@server/middlewares'
import { buildUUID } from '@shared/core-utils'
import { buildUUID } from '@shared/extra-utils'
import { ScopedToken } from '@shared/models/users/user-scoped-token'
const tokensRouter = express.Router()