We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e98fb commit 1d2e82aCopy full SHA for 1d2e82a
NorthwindCRUD/Controllers/QueryBuilderController.cs
@@ -48,7 +48,7 @@ public QueryBuilderController(DataContext dataContext, IMapper mapper, ILogger<Q
48
[Produces("application/json")]
49
public ActionResult<QueryBuilderResult> ExecuteQuery(Query query)
50
{
51
- var sanitizedEntity = query.Entity.Replace("\r", "").Replace("\n", "");
+ var sanitizedEntity = query.Entity.Replace("\r", string.Empty).Replace("\n", string.Empty);
52
logger.LogInformation("Executing query for entity: {Entity}", sanitizedEntity);
53
var t = query.Entity.ToLower(CultureInfo.InvariantCulture);
54
return Ok(new QueryBuilderResult
0 commit comments