diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-25 16:14:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-26 10:01:42 +0200 |
commit | 98ab5dc81048d47d08a231f17698128f959e59b2 (patch) | |
tree | 7f74f835dc35d9f72918c56857f7f28b70d7053f /server/lib/auth | |
parent | 851675c5591dcab1070183f0ed1b1a788de07d2c (diff) | |
download | PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.tar.gz PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.tar.zst PeerTube-98ab5dc81048d47d08a231f17698128f959e59b2.zip |
Remove useless async
Diffstat (limited to 'server/lib/auth')
-rw-r--r-- | server/lib/auth/oauth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/auth/oauth.ts b/server/lib/auth/oauth.ts index 5b6130d56..a97681c86 100644 --- a/server/lib/auth/oauth.ts +++ b/server/lib/auth/oauth.ts | |||
@@ -81,7 +81,7 @@ async function handleOAuthToken (req: express.Request, options: { refreshTokenAu | |||
81 | }) | 81 | }) |
82 | } | 82 | } |
83 | 83 | ||
84 | async function handleOAuthAuthenticate ( | 84 | function handleOAuthAuthenticate ( |
85 | req: express.Request, | 85 | req: express.Request, |
86 | res: express.Response, | 86 | res: express.Response, |
87 | authenticateInQuery = false | 87 | authenticateInQuery = false |