mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 08:19:25 +03:00
Make sure to reset the multipartStreamBuilder (#351)
This commit is contained in:
parent
ab95a7fba3
commit
089f32d746
@ -64,6 +64,7 @@ class RequestBuilder
|
||||
|
||||
$multipartStream = $builder->build();
|
||||
$boundary = $builder->getBoundary();
|
||||
$builder->reset();
|
||||
|
||||
$headers['Content-Type'] = 'multipart/form-data; boundary="'.$boundary.'"';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user