Skip to content

Commit

Permalink
refactor: delete unnecessary val
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Jul 15, 2024
1 parent 6bc389d commit ef657a4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class ArchiveRoute[F[_]: Monad](
archiveService: ArchiveService[F]
) {

private[http] def index: HttpRoutes[IO] = HttpRoutes.of[IO] { r =>
implicit val x = r
private[http] def index: HttpRoutes[IO] = HttpRoutes.of[IO] { implicit r =>
(r match {
case request @ GET -> Root => this.get
case request @ OPTIONS -> Root => NoContent()
Expand Down

0 comments on commit ef657a4

Please sign in to comment.