dynamodb uses POST for operations

This commit is contained in:
Emil Lerch 2024-02-24 11:18:38 -08:00
parent 3bec261395
commit 9902de2837
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -91,7 +91,7 @@ fn executeOperation(
} }
fn authenticateUser(allocator: std.mem.Allocator, context: universal_lambda_interface.Context, target: []const u8, headers: std.http.Headers, body_reader: anytype) !void { fn authenticateUser(allocator: std.mem.Allocator, context: universal_lambda_interface.Context, target: []const u8, headers: std.http.Headers, body_reader: anytype) !void {
var request = signing.UnverifiedRequest{ var request = signing.UnverifiedRequest{
.method = std.http.Method.PUT, .method = std.http.Method.POST,
.target = target, .target = target,
.headers = headers, .headers = headers,
}; };