Skip to content

Add setDataResidency method to @sendgrid/mail default export #1440

@kostia1st

Description

@kostia1st

Please provide a simple wrapper function to @sendgrid/mail/src/classes/mail-service.js file with implementation along these lines:

  setDataResidency(region) {
    this.client.setDataResidency(region);
    
    return this;
  }

That would greatly simplify the approach to work with your new region feature for a lot of folks without the need to introduce any new dependencies into their projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions