Browse Source

fix: Collection with formdata malformed for API (#926)

KriKrus 4 months ago
parent
commit
38a0b631d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Writing/PostmanCollectionWriter.php

+ 1 - 1
src/Writing/PostmanCollectionWriter.php

@@ -222,7 +222,7 @@ class PostmanCollectionWriter
             if (!is_array($value)) {
                 $body[] = [
                     'key' => $index,
-                    'value' => $value,
+                    'value' => (string) $value,
                     'type' => 'text',
                     'description' => $paramsFullDetails[$index]->description ?? '',
                 ];