diff --git a/lambda/room/{room_id}/POST/main.go b/lambda/room/{room_id}/POST/main.go index dcbdfc2..b0700bc 100644 --- a/lambda/room/{room_id}/POST/main.go +++ b/lambda/room/{room_id}/POST/main.go @@ -81,7 +81,7 @@ func insertUserDataToCandleBackendUserTable(cfg aws.Config, ctx context.Context, svc := dynamodb.NewFromConfig(cfg) tableName := "CandleBackendUserTable" - if t, exists := os.LookupEnv("USER_ABLE_NAME"); exists { + if t, exists := os.LookupEnv("USER_TABLE_NAME"); exists { tableName = t }