Skip to content

Commit

Permalink
disable the warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyt committed Mar 6, 2024
1 parent 70041ed commit a2ad252
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vendor/gmail-js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2ad252

Please sign in to comment.