From 3b23afbff09d55633f42bdc1ad831d94b80d5432 Mon Sep 17 00:00:00 2001 From: Nate Harris Date: Fri, 2 Aug 2024 09:48:06 -0600 Subject: [PATCH] [bug] Fix pagination parameters for child user lists (#578) --- CHANGELOG.md | 4 ++++ .../user_service/get_next_page_of_children.json | 14 +++++++------- .../user_service/get_next_page_of_children.json | 14 +++++++------- EasyPost/Models/API/ChildUserCollection.cs | 2 +- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81f4905c8..09a364a52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## Next Release + +- Fix pagination parameters for `GetNextPageOfChildren` function for User service + ## v6.7.0 (2024-07-24) - Add new `Claim` service for filing claims on EasyPost shipments and insurances diff --git a/EasyPost.Tests/cassettes/net/user_service/get_next_page_of_children.json b/EasyPost.Tests/cassettes/net/user_service/get_next_page_of_children.json index 71b5e5942..63eabf02b 100644 --- a/EasyPost.Tests/cassettes/net/user_service/get_next_page_of_children.json +++ b/EasyPost.Tests/cassettes/net/user_service/get_next_page_of_children.json @@ -1,7 +1,7 @@ [ { - "Duration": 336, - "RecordedAt": "2024-04-05T13:24:59.404002-06:00", + "Duration": 115, + "RecordedAt": "2024-08-01T15:18:21.047164-06:00", "Request": { "Body": "", "BodyContentType": "Text", @@ -29,14 +29,14 @@ "x-download-options": "noopen", "x-permitted-cross-domain-policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", - "x-ep-request-uuid": "1f0ae7a56610500bf4304a55000fa80f", + "x-ep-request-uuid": "3567503d66abfb9cf43df2a800270008", "Cache-Control": "no-store, no-cache, private", "Pragma": "no-cache", - "x-runtime": "0.173213", - "x-node": "bigweb42nuq", - "x-version-label": "easypost-202404051854-b9502cad97-master", + "x-runtime": "0.142828", + "x-node": "bigweb35nuq", + "x-version-label": "easypost-202408012013-135f8f9b76-master", "x-backend": "easypost", - "x-proxied": "intlb4nuq 39c21b8207,extlb2nuq 60566a9ec2", + "x-proxied": "intlb4nuq c0f5e722d1,extlb1nuq fa152d4755", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload" }, "Status": { diff --git a/EasyPost.Tests/cassettes/netstandard/user_service/get_next_page_of_children.json b/EasyPost.Tests/cassettes/netstandard/user_service/get_next_page_of_children.json index 3bba98414..41963831c 100644 --- a/EasyPost.Tests/cassettes/netstandard/user_service/get_next_page_of_children.json +++ b/EasyPost.Tests/cassettes/netstandard/user_service/get_next_page_of_children.json @@ -1,7 +1,7 @@ [ { - "Duration": 195, - "RecordedAt": "2024-04-05T13:23:55.120429-06:00", + "Duration": 846, + "RecordedAt": "2024-08-01T15:18:59.396992-06:00", "Request": { "Body": "", "BodyContentType": "Text", @@ -29,14 +29,14 @@ "x-download-options": "noopen", "x-permitted-cross-domain-policies": "none", "referrer-policy": "strict-origin-when-cross-origin", - "x-ep-request-uuid": "f5042d7766104fcbf408d34a00100e43", + "x-ep-request-uuid": "0af7a3d066abfbc2f43e9d140026d996", "Cache-Control": "no-store, no-cache, private", "Pragma": "no-cache", - "x-runtime": "0.027218", - "x-node": "bigweb39nuq", - "x-version-label": "easypost-202404051854-b9502cad97-master", + "x-runtime": "0.028712", + "x-node": "bigweb34nuq", + "x-version-label": "easypost-202408012013-135f8f9b76-master", "x-backend": "easypost", - "x-proxied": "intlb4nuq 39c21b8207,extlb1nuq 60566a9ec2", + "x-proxied": "intlb3nuq c0f5e722d1,extlb2nuq fa152d4755", "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload" }, "Status": { diff --git a/EasyPost/Models/API/ChildUserCollection.cs b/EasyPost/Models/API/ChildUserCollection.cs index 778bf3de8..4ef57978c 100644 --- a/EasyPost/Models/API/ChildUserCollection.cs +++ b/EasyPost/Models/API/ChildUserCollection.cs @@ -32,7 +32,7 @@ public override TParameters BuildNextPageParameters(IEnumerable