File tree 1 file changed +2
-2
lines changed
modules/effects/src/main/scala/dev/profunktor/redis4cats/extensions
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ package dev.profunktor.redis4cats.extensions
18
18
19
19
import cats .effect .kernel .{ Resource , Sync }
20
20
import cats .syntax .all ._
21
- import cats .{ Applicative , ApplicativeThrow }
21
+ import cats .{ ApplicativeThrow , Functor }
22
22
import dev .profunktor .redis4cats .algebra .Scripting
23
23
import dev .profunktor .redis4cats .effects .ScriptOutputType
24
24
import io .lettuce .core .RedisNoScriptException
@@ -29,7 +29,7 @@ object luaScripting {
29
29
30
30
object LuaScript {
31
31
32
- def make [F [_]: Applicative ](redis : Scripting [F , _, _])(contents : String ): F [LuaScript ] =
32
+ def make [F [_]: Functor ](redis : Scripting [F , _, _])(contents : String ): F [LuaScript ] =
33
33
redis.digest(contents).map(sha => LuaScript (contents, sha))
34
34
35
35
/** Helper to load a lua script from resources/lua/{resourceName}. The path to the lua scripts can be configured.
You can’t perform that action at this time.
0 commit comments