Ver Fonte

Merge pull request #10 from patrickcurl/patch-1

Update PostmanCollectionWriter.php
Shalvah há 5 anos atrás
pai
commit
e21b62f9dd
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/Writing/PostmanCollectionWriter.php

+ 2 - 0
src/Writing/PostmanCollectionWriter.php

@@ -106,6 +106,8 @@ class PostmanCollectionWriter
                 'Accept' => 'application/json',
             ])
             ->map(function ($value, $header) {
+                // Fix so in config we can have @{{ for blade views but it'll use {{ for postman for env vars. 
+                $value = str_replace('@{{', '{{', $value);
                 return [
                     'key' => $header,
                     'value' => $value,