Skip to content

Commit

Permalink
Cleaing up output
Browse files Browse the repository at this point in the history
  • Loading branch information
bryancross committed Oct 9, 2023
1 parent c18d87e commit 8870c10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postman/ConvertOAS.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@
"try {",
"var apiIds = JSON.parse(pm.environment.get('rt_APIIDs'));",
"if(apiIds.length == 0) {",
" console.log(\"No APIs found\");",
" postman.setNextRequest(null);",
"}",
"",
Expand All @@ -425,9 +426,8 @@
"",
"if(typeof apiIds !== 'undefined' && apiIds.length > 0) {",
" var apiId = apiIds.pop();",
" console.log('here ', apiId);",
" ",
" pm.environment.set('sourceAPIID',apiId);",
" console.log('here ', apiIds);",
" pm.environment.set('rt_APIIDs',JSON.stringify(apiIds));",
"}",
"",
Expand Down

0 comments on commit 8870c10

Please sign in to comment.