Skip to content

Commit

Permalink
Merge pull request #1889 from MirkoManojlovic/fix/fetch_cats_backend_…
Browse files Browse the repository at this point in the history
…stub_types

add generic type to FetchCatsBackend stub method
  • Loading branch information
adamw authored Jul 8, 2023
2 parents 9ac78e8 + bd757ad commit e954e04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ object FetchCatsBackend {
*
* See [[SttpBackendStub]] for details on how to configure stub responses.
*/
def stub[F[_]: Concurrent: ContextShift]: SttpBackendStub[F, Any] = SttpBackendStub(new CatsMonadAsyncError)
def stub[F[_]: Concurrent: ContextShift]: SttpBackendStub[F, WebSockets] = SttpBackendStub(new CatsMonadAsyncError)
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ object FetchCatsBackend {
*
* See [[SttpBackendStub]] for details on how to configure stub responses.
*/
def stub[F[_]: Async]: SttpBackendStub[F, Any] = SttpBackendStub(new CatsMonadAsyncError)
def stub[F[_]: Async]: SttpBackendStub[F, WebSockets] = SttpBackendStub(new CatsMonadAsyncError)
}

0 comments on commit e954e04

Please sign in to comment.