Fix import in DropboxMiddleware

The passport plugin does not have a default export.

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-05-16 15:51:36 +02:00
parent 5b05760c8f
commit 9c720183aa
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB

View file

@ -1,6 +1,6 @@
import { NextFunction, Request, Response, Router } from 'express'
import passport from 'passport'
import * as DropboxStrategy from 'passport-dropbox-oauth2'
import { Strategy as DropboxStrategy } from 'passport-dropbox-oauth2'
import { config } from '../../../config'
import { AuthMiddleware } from '../interface'
import { passportGeneralCallback } from '../utils'