Skip to content

Commit

Permalink
Scala 3 - expl. type added for ec
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Nov 27, 2023
1 parent 0e0c891 commit 1bd309f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ trait Example {

implicit val system: ActorSystem = ActorSystem()
implicit val materializer: Materializer = Materializer(system)
implicit val ec = ExecutionContext.Implicits.global
implicit val ec: ExecutionContext = ExecutionContext.Implicits.global
val service: OpenAIService = OpenAIServiceFactory() // sys.env("OPENAI_API_KEY")

def main(args: Array[String]): Unit = {
Expand Down

0 comments on commit 1bd309f

Please sign in to comment.