Skip to content

Commit

Permalink
Ignore асортимента
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jan 16, 2024
1 parent 3a8f9b1 commit 2cd33cd
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ import com.stefanbratanov.sofiasupermarketsapi.model.Supermarket.TMARKET
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.Parameter
import io.swagger.v3.oas.annotations.tags.Tag
import java.util.Objects.isNull
import java.util.Objects.nonNull
import kotlin.text.RegexOption.IGNORE_CASE
import org.apache.logging.log4j.util.Strings
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RequestParam
import org.springframework.web.bind.annotation.RestController
import java.util.Objects.isNull
import java.util.Objects.nonNull
import kotlin.text.RegexOption.IGNORE_CASE

@Log
@Tag(name = "Product", description = "All operations for supermarket products")
Expand Down Expand Up @@ -109,7 +109,8 @@ class AlcoholController(
"подправка",
"cappy",
"препарат",
"диспенсър"
"диспенсър",
"асортимента"
)
.map { it.toRegex(IGNORE_CASE) }

Expand Down

0 comments on commit 2cd33cd

Please sign in to comment.