Skip to content

Commit

Permalink
trim query before getting from db (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh-Kril authored Jan 22, 2024
1 parent d06eaa3 commit c4ed487
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public GetStreetcodeByFilterHandler(IRepositoryWrapper repositoryWrapper, ILogge
public async Task<Result<List<StreetcodeFilterResultDTO>>> Handle(GetStreetcodeByFilterQuery request, CancellationToken cancellationToken)
{
string searchQuery = request.Filter.SearchQuery;
searchQuery = searchQuery.Trim();

var results = new List<StreetcodeFilterResultDTO>();

Expand Down

0 comments on commit c4ed487

Please sign in to comment.