mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-04-04 05:33:34 +03:00
Make sure to reset the multipartStreamBuilder (#351)
This commit is contained in:
parent
ab95a7fba3
commit
089f32d746
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ class RequestBuilder
|
|||
|
||||
$multipartStream = $builder->build();
|
||||
$boundary = $builder->getBoundary();
|
||||
$builder->reset();
|
||||
|
||||
$headers['Content-Type'] = 'multipart/form-data; boundary="'.$boundary.'"';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue