From fd568f26b976e5f84b27261fccd7b5c2fc9a14c0 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 2 Feb 2026 18:00:00 -0800 Subject: [PATCH] refactor rest calls so all fields are included appropriately --- src/aws.zig | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/aws.zig b/src/aws.zig index 0afdd97..be50673 100644 --- a/src/aws.zig +++ b/src/aws.zig @@ -304,14 +304,9 @@ pub fn Request(comptime request_action: anytype) type { } } - return try Self.callAws(aws_request, .{ - .success_http_code = Action.http_config.success_code, - .region = options.region, - .dualstack = options.dualstack, - .client = options.client, - .diagnostics = options.diagnostics, - .mock = options.mock, - }); + var rest_options = options; + rest_options.success_http_code = Action.http_config.success_code; + return try Self.callAws(aws_request, rest_options); } /// Calls using one of the json protocols (json_1_0, json_1_1)