From 3dac9b58ae5cee1cc0e12b96020be72d40e4f124 Mon Sep 17 00:00:00 2001 From: Callum Grimmer Date: Mon, 2 Dec 2019 17:01:07 +1300 Subject: [PATCH] Changed TenantId to tenantId so auto-populate script works. Removed test code for request that is never run. --- Xero OAuth 2.0.postman_collection.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Xero OAuth 2.0.postman_collection.json b/Xero OAuth 2.0.postman_collection.json index 8ff5809..c8a0d56 100755 --- a/Xero OAuth 2.0.postman_collection.json +++ b/Xero OAuth 2.0.postman_collection.json @@ -13,10 +13,7 @@ "script": { "id": "0e37c12b-9b8b-48ee-8c83-52a021668330", "exec": [ - "var data = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"xero-tenant-id\", data[0].TenantId);", - "", - "tests[\"xero-tenant-id: \" + pm.environment.get(\"xero-tenant-id\")] = true;" + "" ], "type": "text/javascript" } @@ -73,7 +70,7 @@ "id": "6c8ecf27-a232-4b87-931d-8cced27b1fbc", "exec": [ "var data = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"xero-tenant-id\", data[0].TenantId);", + "postman.setEnvironmentVariable(\"xero-tenant-id\", data[0].tenantId);", "", "tests[\"xero-tenant-id: \" + pm.environment.get(\"xero-tenant-id\")] = true;" ],