Fix runtime
This commit is contained in:
@@ -50,10 +50,6 @@ public class GetCreatorByAliasHandler(
|
||||
}
|
||||
else
|
||||
{
|
||||
var followerCount = await context.Followers.CountAsync(
|
||||
s => s.CreatorId == creator.Id,
|
||||
cancellationToken: ct);
|
||||
|
||||
var model = new CreatorModel(
|
||||
creator.Id,
|
||||
creator.CreatedBy,
|
||||
@@ -62,8 +58,7 @@ public class GetCreatorByAliasHandler(
|
||||
creator.Title,
|
||||
creator.Socials,
|
||||
creator.Colors,
|
||||
creator.Images,
|
||||
followerCount);
|
||||
creator.Images);
|
||||
|
||||
await SendAsync(model, cancellation: ct);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user