Skip to content

Commit

Permalink
code golf
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Jun 19, 2024
1 parent 360530c commit 486e0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ingestor/src/main/scala/kvstore.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ object KVStore:
.through(fs2.text.utf8.decode[IO])
.compile
.string
.map(x => readFromString[State](x))
.map(readFromString[State](_))
.handleError(_ => Map.empty)

private def write(path: String, content: State): IO[Unit] =
Expand Down

0 comments on commit 486e0fa

Please sign in to comment.