From a2ad25270b08aa30458f2290490bacfbeb08ece9 Mon Sep 17 00:00:00 2001 From: Sonny T Date: Wed, 6 Mar 2024 13:23:03 -0500 Subject: [PATCH] disable the warnings --- vendor/gmail-js.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/gmail-js.ts b/vendor/gmail-js.ts index a253ad5..e985251 100644 --- a/vendor/gmail-js.ts +++ b/vendor/gmail-js.ts @@ -21,6 +21,8 @@ if ((window as any).trustedTypes && (window as any).trustedTypes.createPolicy) { const Gmail = new service.Gmail(jQuery); +Gmail.DISABLE_OLD_GMAIL_API_DEPRECATION_WARNINGS = true; + /** * Override the email_data_post helper * catch the error and silence it