Fix GetCreatorByAlias to be case-insensitive
This commit is contained in:
@@ -41,7 +41,7 @@ public class GetCreatorByAliasHandler(
|
|||||||
|
|
||||||
var creator = await context
|
var creator = await context
|
||||||
.Creators
|
.Creators
|
||||||
.Where(c => EF.Functions.Like(c.Name, creatorName))
|
.Where(c => EF.Functions.ILike(c.Name, creatorName))
|
||||||
.FirstOrDefaultAsync(ct);
|
.FirstOrDefaultAsync(ct);
|
||||||
|
|
||||||
if (creator is null)
|
if (creator is null)
|
||||||
|
|||||||
Reference in New Issue
Block a user