From dccf757f563cd34c2f794c750736ab2ddb89025a Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs Date: Wed, 31 Jul 2024 21:26:14 +0530 Subject: [PATCH] fix: gmail adapter is not working --- apps/OpenSignServer/cloud/parsefunction/sendMailGmailProvider.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/OpenSignServer/cloud/parsefunction/sendMailGmailProvider.js b/apps/OpenSignServer/cloud/parsefunction/sendMailGmailProvider.js index 7aacca192..abff5b61c 100644 --- a/apps/OpenSignServer/cloud/parsefunction/sendMailGmailProvider.js +++ b/apps/OpenSignServer/cloud/parsefunction/sendMailGmailProvider.js @@ -3,6 +3,7 @@ import { google } from 'googleapis'; import fs from 'node:fs'; import https from 'https'; import http from 'http'; +import { useLocal } from '../../Utils.js'; const clientId = process.env.GOOGLE_CLIENT_ID; const clientSecret = process.env.GOOGLE_CLIENT_SECRET; // Function to create a Gmail client