From 9596b0c2e7c5823032cdac92c03f319bfde01de6 Mon Sep 17 00:00:00 2001 From: Dejan Mijic Date: Fri, 23 Aug 2024 23:25:51 +0200 Subject: [PATCH] Specify types --- .../src/main/scala/zio/redis/example/ContributorsCache.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/example/src/main/scala/zio/redis/example/ContributorsCache.scala b/modules/example/src/main/scala/zio/redis/example/ContributorsCache.scala index 4a666169a..6243312bd 100644 --- a/modules/example/src/main/scala/zio/redis/example/ContributorsCache.scala +++ b/modules/example/src/main/scala/zio/redis/example/ContributorsCache.scala @@ -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] =