Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
dantb committed Sep 29, 2023
1 parent a073776 commit 4950c40
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package ch.epfl.bluebrain.nexus.delta.routes

import akka.http.scaladsl.model.StatusCodes
import akka.http.scaladsl.server.Directive1
import akka.http.scaladsl.server.{Directive1, MissingQueryParamRejection, Route}
import akka.http.scaladsl.server.Directives._
import akka.http.scaladsl.server.Route
import cats.implicits._
import ch.epfl.bluebrain.nexus.delta.rdf.jsonld.context.RemoteContextResolution
import ch.epfl.bluebrain.nexus.delta.rdf.jsonld.encoder.JsonLdEncoder
Expand Down Expand Up @@ -132,7 +131,7 @@ final class OrganizationsRoutes(
emit(organizations.deprecate(id, rev).mapValue(_.metadata))
}
case (None, false) =>
complete(StatusCodes.BadRequest)
reject(MissingQueryParamRejection("rev"))
}
}
)
Expand Down

0 comments on commit 4950c40

Please sign in to comment.