Updated following dependencies as they need changes to the code to work properly:

- Scala
- fs2
- http4s
This commit is contained in:
Rehan Mahmood
2023-10-31 14:24:00 -04:00
parent c9ebd15b23
commit 2a39b2f6a6
64 changed files with 224 additions and 150 deletions

View File

@ -8,6 +8,7 @@ package docspell.joexapi.client
import cats.effect._
import cats.implicits._
import fs2.io.net.Network
import docspell.common.{Ident, LenientUri}
import docspell.joexapi.model.{AddonSupport, BasicResult}
@ -72,6 +73,6 @@ object JoexClient {
Uri.unsafeFromString(u.asString)
}
def resource[F[_]: Async]: Resource[F, JoexClient[F]] =
def resource[F[_]: Async: Network]: Resource[F, JoexClient[F]] =
EmberClientBuilder.default[F].build.map(apply[F])
}