Fix GetContentsByCreator returning the same content multiple times

This commit is contained in:
2024-08-16 17:03:04 -04:00
parent 84deb59e4b
commit d1557f92c6

View File

@@ -49,7 +49,7 @@ public class GetContentsByCreatorHandler(
if (req.LastId.HasValue)
{
queryBuilder.AppendLine($"""AND content."Id" < '{req.LastId.Value}'""");
queryBuilder.AppendLine($"""AND content."Id" > '{req.LastId.Value}'""");
}
queryBuilder.AppendLine($"""