Skip to content

Commit 74c98d5

Browse files
committed
chore: set dataChanged flag to false in withBody method
1 parent c01a188 commit 74c98d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api-client/src/ApiRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ public function withoutHeaders(array $headers): static
182182
public function withBody(string $body): static
183183
{
184184
$this->request = $this->request->withBody(new Stream($body));
185+
$this->dataChanged = false;
185186

186187
return $this;
187188
}

0 commit comments

Comments
 (0)