aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-05 21:53:49 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-05 21:53:49 +0200
commit4d4e5cd4dca78480ec7f40e747f424cd107376a4 (patch)
tree1b132aab503751ae0f4c8ee6c7595ad2d65f3a50 /server/middlewares
parente02643f32e4c97ca307f8fc5b69be79c40d70a3b (diff)
downloadPeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.gz
PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.zst
PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.zip
require -> import
Diffstat (limited to 'server/middlewares')
-rw-r--r--server/middlewares/oauth.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/oauth.ts b/server/middlewares/oauth.ts
index 07bbded57..468e41810 100644
--- a/server/middlewares/oauth.ts
+++ b/server/middlewares/oauth.ts
@@ -1,4 +1,4 @@
1import OAuthServer = require('express-oauth-server') 1import * as OAuthServer from 'express-oauth-server'
2 2
3import { OAUTH_LIFETIME } from '../initializers' 3import { OAUTH_LIFETIME } from '../initializers'
4import { logger } from '../helpers' 4import { logger } from '../helpers'