From f7487eda8ad9aa0893eec2f49b687655cdb36da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Tue, 14 Dec 2021 20:35:19 +0100 Subject: [PATCH] Fix dynamodb stream event decoder --- .../main/scala/feral/lambda/events/DynamoDBStreamEvent.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda/shared/src/main/scala/feral/lambda/events/DynamoDBStreamEvent.scala b/lambda/shared/src/main/scala/feral/lambda/events/DynamoDBStreamEvent.scala index bfd4d221..2d8c3b01 100644 --- a/lambda/shared/src/main/scala/feral/lambda/events/DynamoDBStreamEvent.scala +++ b/lambda/shared/src/main/scala/feral/lambda/events/DynamoDBStreamEvent.scala @@ -111,7 +111,7 @@ final case class DynamoDBStreamEvent( object DynamoDBStreamEvent { implicit val decoder: Decoder[DynamoDBStreamEvent] = - Decoder.forProduct1("records")(DynamoDBStreamEvent.apply) + Decoder.forProduct1("Records")(DynamoDBStreamEvent.apply) implicit def kernelSource: KernelSource[DynamoDBStreamEvent] = KernelSource.emptyKernelSource }