Defining fetch for third party image retrieval.

This commit is contained in:
mike12345567 2021-08-05 13:39:40 +01:00
parent 819bf646da
commit d98706c7af
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ const { newid } = require("../../hashing")
const { createASession } = require("../../security/sessions")
const { getGlobalUserByEmail } = require("../../utils")
const { getGlobalDB, getTenantId } = require("../../tenancy")
const fetch = require("node-fetch")
/**
* Common authentication logic for third parties. e.g. OAuth, OIDC.