Skip to content

Commit d46f0ae

Browse files
Merge pull request #98 from patterninc/Correct_the_amazon_financial_transactions_query_param
corrected the query params for sp api client
2 parents ab2bc5b + be4e900 commit d46f0ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/muffin_man/finances/v20240619.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def list_transactions(posted_after:, posted_before: nil, marketplace_id: nil, ne
88
@query_params = {
99
"postedAfter" => posted_after
1010
}
11-
@query_params["PostedBefore"] = posted_before unless posted_before.nil?
11+
@query_params["postedBefore"] = posted_before unless posted_before.nil?
1212
@query_params["marketplaceId"] = marketplace_id unless marketplace_id.nil?
1313
@query_params["nextToken"] = next_token unless next_token.nil?
1414
@request_type = "GET"

0 commit comments

Comments
 (0)