David Mehren
08655f06f9
Profile.emails is now a string array 🏷️
...
Dropbox wrapped their email attribute in another object. We now unwrap this object in the DropboxMiddleware and don't need to special-case the email attribute in User.parsePhotoByProfile and the Profile type anymore.
Signed-off-by: David Mehren <dmehren1@gmail.com>
2020-05-16 21:16:38 +02:00
David Mehren
9c720183aa
Fix import in DropboxMiddleware
...
The passport plugin does not have a default export.
Signed-off-by: David Mehren <dmehren1@gmail.com>
2020-05-16 21:16:38 +02:00
David Mehren
1903ba12af
auth/index.ts: Refactor Gitlab & Dropbox middlewares
...
Signed-off-by: David Mehren <dmehren1@gmail.com>
2020-04-25 16:04:15 +02:00
Yannick Bungers
aaca777467
Refactored dropbox to typescript
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: David Mehren <dmehren1@gmail.com>
2020-04-25 16:04:14 +02:00
Yannick Bungers
620468e843
Refactored dropbox.js -> dropbox.ts
...
Signed-off-by: Yannick Bungers <git@innay.de>
Signed-off-by: David Mehren <dmehren1@gmail.com>
2020-04-25 16:04:14 +02:00