Skip to content

Commit

Permalink
Update ImportPostmanController.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Dec 31, 2021
1 parent cb1f251 commit 74d08fd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -332,7 +332,7 @@ private function _requestToApiV2($name , $page){
}
}

if (in_array($request['body']['mode'],['formdata','urlencoded']) && $request['body'][$request['body']['mode']]) {
if (in_array($request['body']['mode'],array('formdata','urlencoded')) && $request['body'][$request['body']['mode']]) {
foreach ($request['body'][$request['body']['mode']] as $key => $value) {
$content_array['request']['params'][$request['body']['mode']][] = array(
"name" =>$value["key"],
Expand Down

0 comments on commit 74d08fd

Please sign in to comment.