diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-19 14:47:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-19 14:47:03 +0100 |
commit | 2af4fa4d8ba69424a279402e1e3f9e09a90c7e45 (patch) | |
tree | f31e470bc06d3a4dce05d2ba1f533225799973a9 /server/middlewares/oauth.ts | |
parent | 23e27dd53599be65b2dc2968448ce155a00a96c9 (diff) | |
download | PeerTube-2af4fa4d8ba69424a279402e1e3f9e09a90c7e45.tar.gz PeerTube-2af4fa4d8ba69424a279402e1e3f9e09a90c7e45.tar.zst PeerTube-2af4fa4d8ba69424a279402e1e3f9e09a90c7e45.zip |
Fix tests
Diffstat (limited to 'server/middlewares/oauth.ts')
-rw-r--r-- | server/middlewares/oauth.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/middlewares/oauth.ts b/server/middlewares/oauth.ts index 41a3fb718..3cda41e5c 100644 --- a/server/middlewares/oauth.ts +++ b/server/middlewares/oauth.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import * as express from 'express' | 1 | import * as express from 'express' |
2 | import * as OAuthServer from 'express-oauth-server' | 2 | import * as OAuthServer from 'express-oauth-server' |
3 | import 'express-validator' | 3 | import 'express-validator' |
4 | import { logger } from '../helpers/logger' | ||
4 | import { OAUTH_LIFETIME } from '../initializers' | 5 | import { OAUTH_LIFETIME } from '../initializers' |
5 | 6 | ||
6 | const oAuthServer = new OAuthServer({ | 7 | const oAuthServer = new OAuthServer({ |