Skip to content

Commit

Permalink
Remove the replacement of forward slashes since that could never have…
Browse files Browse the repository at this point in the history
… worked

Co-authored-by: Mauro Servienti <mauro.servienti@gmail.com>
  • Loading branch information
danielmarbach and mauroservienti committed Mar 5, 2024
1 parent 221472a commit 9c051ee
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -78,7 +78,7 @@ public async Task<IList<MessagesView>> Search([FromQuery] PagingInfo pagingInfo,
[HttpGet]
public async Task<IList<MessagesView>> SearchByKeyWord([FromQuery] PagingInfo pagingInfo, [FromQuery] SortInfo sortInfo, string keyword)
{
var result = await dataStore.QueryMessages(keyword?.Replace("/", @"\"), pagingInfo, sortInfo);
var result = await dataStore.QueryMessages(keyword, pagingInfo, sortInfo);
Response.WithQueryStatsAndPagingInfo(result.QueryStats, pagingInfo);
return result.Results;
}
Expand Down

0 comments on commit 9c051ee

Please sign in to comment.