From dd8b1361d82a907f86a7d507d9966d4655bb18c3 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Thu, 29 Jul 2021 14:51:35 +0100 Subject: [PATCH] Fix import --- packages/auth/src/middleware/passport/third-party-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/auth/src/middleware/passport/third-party-common.js b/packages/auth/src/middleware/passport/third-party-common.js index 01125dfebb..54252b329d 100644 --- a/packages/auth/src/middleware/passport/third-party-common.js +++ b/packages/auth/src/middleware/passport/third-party-common.js @@ -6,7 +6,7 @@ const { authError } = require("./utils") const { newid } = require("../../hashing") const { createASession } = require("../../security/sessions") const { getGlobalUserByEmail } = require("../../utils") -const { default: fetch } = require("node-fetch") +const fetch = require("node-fetch") /** * Common authentication logic for third parties. e.g. OAuth, OIDC.