From be4e900f6c4bd2c85062bcf7acde12ab6cb48ef2 Mon Sep 17 00:00:00 2001 From: abhishek-potbhare Date: Wed, 23 Apr 2025 14:09:44 +0530 Subject: [PATCH] corrected the query params for sp api client --- lib/muffin_man/finances/v20240619.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/muffin_man/finances/v20240619.rb b/lib/muffin_man/finances/v20240619.rb index 5061ebf..22571b0 100644 --- a/lib/muffin_man/finances/v20240619.rb +++ b/lib/muffin_man/finances/v20240619.rb @@ -8,7 +8,7 @@ def list_transactions(posted_after:, posted_before: nil, marketplace_id: nil, ne @query_params = { "postedAfter" => posted_after } - @query_params["PostedBefore"] = posted_before unless posted_before.nil? + @query_params["postedBefore"] = posted_before unless posted_before.nil? @query_params["marketplaceId"] = marketplace_id unless marketplace_id.nil? @query_params["nextToken"] = next_token unless next_token.nil? @request_type = "GET"