Skip to content

Commit

Permalink
scala 3 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
googley42 committed Sep 17, 2024
1 parent 21a20c4 commit bd8a492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamodb/src/main/scala/zio/dynamodb/DynamoDBQuery.scala
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ object DynamoDBQuery {

getWithNarrowedKeyCondExpr(tableName)(primaryKeyExpr).map {
case Right(found) =>
narrow[From, To](found).left.map(DynamoDBError.ItemError.DecodingError)
narrow[From, To](found).left.map(DynamoDBError.ItemError.DecodingError.apply)

case Left(error) => Left(error)
}
Expand Down

0 comments on commit bd8a492

Please sign in to comment.