Skip to content

Commit

Permalink
Revert "change log"
Browse files Browse the repository at this point in the history
This reverts commit b1eb240.
  • Loading branch information
zekehuntergreen committed Mar 20, 2024
1 parent b1eb240 commit c79f5b6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions backend/app/controllers/api/Search.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ class Search(override val controllerComponents: AuthControllerComponents, userMa
def search() = ApiAction.attempt { req: UserIdentityRequest[_] =>
val q = req.queryString.getOrElse("q", Seq("")).head
val proposedParams = Search.buildSearchParameters(q, req)
logger.info(s"searching. workspace context is ${proposedParams.workspaceContext.isDefined}")
if (proposedParams.workspaceContext.isDefined){
logger.info(req.user.asLogMarker, "Performing workspace search")
}
proposedParams.workspaceContext.map(wc => logger.info(req.user.asLogMarker, s"Performing workspace search"))

buildSearch(req.user, proposedParams, proposedParams.workspaceContext).flatMap { case (verifiedParams, context) =>
val returnEmptyResult = Search.shouldReturnEmptyResult(proposedParams, verifiedParams, context)
Expand Down

0 comments on commit c79f5b6

Please sign in to comment.