From d977ec3b7b2806813ac267cc9a97b4cf90e3dd49 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 18 Jan 2022 10:30:54 +0100 Subject: [PATCH] removing comment --- .../backend-core/src/middleware/passport/datasource/google.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/backend-core/src/middleware/passport/datasource/google.js b/packages/backend-core/src/middleware/passport/datasource/google.js index e7f8de52c4..474cb948a8 100644 --- a/packages/backend-core/src/middleware/passport/datasource/google.js +++ b/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.") } - // 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)