Skip to content

Commit

Permalink
fix: Collection with formdata malformed for API (#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
KriKrus authored Dec 31, 2024
1 parent fcc0f5c commit 38a0b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writing/PostmanCollectionWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ protected function getFormDataParams(array $paramsKeyValue, ?string $key = null,
if (!is_array($value)) {
$body[] = [
'key' => $index,
'value' => $value,
'value' => (string) $value,
'type' => 'text',
'description' => $paramsFullDetails[$index]->description ?? '',
];
Expand Down

0 comments on commit 38a0b63

Please sign in to comment.