From efbc4e0f8cafdf0fe51053b85c3b95eb9a0c03ea Mon Sep 17 00:00:00 2001 From: Niklas Schulte Date: Fri, 27 Sep 2024 15:15:42 +0200 Subject: [PATCH] fix: move prerequisite script to collection level --- .../postman/MVD.postman_collection.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/deployment/postman/MVD.postman_collection.json b/deployment/postman/MVD.postman_collection.json index 935f8443..08246406 100644 --- a/deployment/postman/MVD.postman_collection.json +++ b/deployment/postman/MVD.postman_collection.json @@ -639,17 +639,6 @@ { "name": "Get Participant By ID", "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "if(pm.request.method == \"POST\" || pm.request.method == \"PUT\"){", - " pm.request.headers.add(\"Content-Type: application/json\");", - "}" - ] - } - }, { "listen": "test", "script": { @@ -1924,6 +1913,17 @@ ] }, "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "if(pm.request.method == \"POST\" || pm.request.method == \"PUT\"){", + " pm.request.headers.add(\"Content-Type: application/json\");", + "}" + ] + } + }, { "listen": "prerequest", "script": {