mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Updated following dependencies as they need changes to the code to work properly:
- Scala - fs2 - http4s
This commit is contained in:
@ -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])
|
||||
}
|
||||
|
Reference in New Issue
Block a user