removing comment

This commit is contained in:
Martin McKeaveney 2022-01-18 10:30:54 +01:00
parent 73262179ef
commit 4ff339cae2
1 changed files with 0 additions and 1 deletions

View File

@ -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)