Fix GetContentsByCreator returning the same content multiple times
This commit is contained in:
@@ -49,7 +49,7 @@ public class GetContentsByCreatorHandler(
|
|||||||
|
|
||||||
if (req.LastId.HasValue)
|
if (req.LastId.HasValue)
|
||||||
{
|
{
|
||||||
queryBuilder.AppendLine($"""AND content."Id" < '{req.LastId.Value}'""");
|
queryBuilder.AppendLine($"""AND content."Id" > '{req.LastId.Value}'""");
|
||||||
}
|
}
|
||||||
|
|
||||||
queryBuilder.AppendLine($"""
|
queryBuilder.AppendLine($"""
|
||||||
|
|||||||
Reference in New Issue
Block a user