Browse Source

removing comment

master
Martin McKeaveney 5 years ago
parent
commit
d977ec3b7b
  1. 1
      packages/backend-core/src/middleware/passport/datasource/google.js

1
packages/backend-core/src/middleware/passport/datasource/google.js

@ -22,7 +22,6 @@ async function preAuth(passport, ctx, next) {
ctx.throw(400, "appId and datasourceId query params not present.") 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, { return passport.authenticate(strategy, {
scope: ["profile", "email", "https://www.googleapis.com/auth/spreadsheets"], scope: ["profile", "email", "https://www.googleapis.com/auth/spreadsheets"],
})(ctx, next) })(ctx, next)

Loading…
Cancel
Save