Skip to content

Commit

Permalink
Specify types
Browse files Browse the repository at this point in the history
  • Loading branch information
mijicd committed Aug 23, 2024
1 parent f79aa71 commit 9596b0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ trait ContributorsCache {

object ContributorsCache {
lazy val layer: URLayer[Redis with Sttp, ContributorsCache] =
ZLayer.fromFunction(Live.apply _)
ZLayer.fromFunction[Redis with Sttp](Live.apply _)

private final case class Live(redis: Redis, sttp: Sttp) extends ContributorsCache {
def fetchAll(repository: Repository): IO[ApiError, Contributors] =
Expand Down

0 comments on commit 9596b0c

Please sign in to comment.