Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "get_letter" {
function_include_common = true
handler_function_name = "getLetter"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "get_letter_data" {
function_include_common = true
handler_function_name = "getLetterData"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "get_letters" {
function_include_common = true
handler_function_name = "getLetters"
runtime = "nodejs22.x"
memory = 128
memory = 1024
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "get_status" {
function_include_common = true
handler_function_name = "getStatus"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "letter_status_update" {
function_include_common = true
handler_function_name = "letterStatusUpdate"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "letter_updates_transformer" {
function_include_common = true
handler_function_name = "handler"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "patch_letter" {
function_include_common = true
handler_function_name = "patchLetter"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "post_letters" {
function_include_common = true
handler_function_name = "postLetters"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "post_mi" {
function_include_common = true
handler_function_name = "postMI"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "upsert_letter" {
function_include_common = true
handler_function_name = "handler"
runtime = "nodejs22.x"
memory = 128
memory = 512
timeout = 29
log_level = var.log_level

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe("API Lambda handler", () => {

expect(result).toEqual({
statusCode: 200,
body: JSON.stringify(expected, null, 2),
body: JSON.stringify(expected),
});
});

Expand Down Expand Up @@ -113,7 +113,7 @@ describe("API Lambda handler", () => {

expect(result).toEqual({
statusCode: 200,
body: JSON.stringify(expected, null, 2),
body: JSON.stringify(expected),
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe("API Lambda handler", () => {

expect(result).toEqual({
statusCode: 200,
body: JSON.stringify(expected, null, 2),
body: JSON.stringify(expected),
});
});

Expand Down Expand Up @@ -177,7 +177,7 @@ describe("API Lambda handler", () => {

expect(result).toEqual({
statusCode: 200,
body: JSON.stringify(expected, null, 2),
body: JSON.stringify(expected),
});
});

Expand Down
2 changes: 1 addition & 1 deletion lambdas/api-handler/src/handlers/get-letter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function createGetLetterHandler(

return {
statusCode: 200,
body: JSON.stringify(response, null, 2),
body: JSON.stringify(response),
};
} catch (error) {
return processError(error, commonIds.value.correlationId, deps.logger);
Expand Down
2 changes: 1 addition & 1 deletion lambdas/api-handler/src/handlers/get-letters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function createGetLettersHandler(

return {
statusCode: 200,
body: JSON.stringify(response, null, 2),
body: JSON.stringify(response),
};
} catch (error) {
return processError(error, commonIds.value.correlationId, deps.logger);
Expand Down
Loading