reformat code

This commit is contained in:
2026-07-24 14:36:39 +03:00
parent 6ef0132bcc
commit 64603dc368
46 changed files with 445 additions and 337 deletions
@@ -20,7 +20,11 @@ fun Route.setupSearch(searchFactory: SearchRepositoryFactory) {
val p = call.parameters
val userId = call.obtainUserId()
val search = searchFactory.create(userId)
call.respond(SearchQueryResponse(search.search(p[SearchRepository.QUERY_ARG] ?: "").first()))
call.respond(
SearchQueryResponse(
search.search(p[SearchRepository.QUERY_ARG] ?: "").first()
)
)
}
post(SearchRepository.ADD_TO_SEARCH) {
val userId = call.obtainUserId()