We use multiple sendgrid API keys from within one Drupal instance and I'd like to be able to use the results of sendgrid_integration_reports_get_stats with each of them. I'm hoping to add $key_secret = NULL to the function declaration to facilitate this. Patch forthcoming.

Comments

Mirabuck created an issue. See original summary.

mirabuck’s picture

Assigned: mirabuck » Unassigned
Status: Active » Needs review
StatusFileSize
new1.75 KB

Patch attached.

mirabuck’s picture

StatusFileSize
new4.4 KB

Updated patch to handle all reporting functions.

perignon’s picture

Thanks for the contribution. I'll review it tonight!

perignon’s picture

Assigned: Unassigned » perignon
perignon’s picture

Queued test.

  • Perignon committed 933adc2 on 7.x-1.x authored by Mirabuck
    Issue #2899019 by Mirabuck: Allow report function to be called with...
lambic’s picture

I'm rerolling this patch, there are some caching issues.

lambic’s picture

StatusFileSize
new5.49 KB

Here's the new patch.

  • Perignon committed 6bbcd24 on 7.x-1.x authored by lambic
    Issue #2899019 by Mirabuck, lambic: Allow report function to be called...
perignon’s picture

Just pushed!

perignon’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.