1
0
Fork 0
mirror of synced 2024-09-29 08:41:16 +13:00

removing comment

This commit is contained in:
Martin McKeaveney 2022-01-18 10:30:54 +01:00
parent 67abff02fa
commit d977ec3b7b

View file

@ -22,7 +22,6 @@ async function preAuth(passport, ctx, next) {
ctx.throw(400, "appId and datasourceId query params not present.")
}
// TODO: prob update - shouldn't include the google sheets scopes here
return passport.authenticate(strategy, {
scope: ["profile", "email", "https://www.googleapis.com/auth/spreadsheets"],
})(ctx, next)