Adds Content deletion
This commit is contained in:
@@ -37,6 +37,8 @@ public class GetContentsByCreatorHandler(
|
||||
c."Menu" as ColorMenu,
|
||||
c."Accent" as ColorAccent,
|
||||
content."CreatedAt",
|
||||
content."DeletedBy",
|
||||
content."DeletedAt",
|
||||
content."Title",
|
||||
content."Description",
|
||||
content."Urls"
|
||||
@@ -44,7 +46,8 @@ public class GetContentsByCreatorHandler(
|
||||
INNER JOIN "Content"."Creators" AS creator ON content."CreatedBy" = creator."Id"
|
||||
LEFT JOIN "Content"."Images" AS i ON creator."Id" = i."CreatorId"
|
||||
LEFT JOIN "Content"."Colors" AS c ON creator."Id" = c."CreatorId"
|
||||
WHERE content."CreatedBy" = '{req.CreatorId}'
|
||||
WHERE content."CreatedBy" = '{req.CreatorId}'
|
||||
AND content."DeletedBy" IS NULL
|
||||
""");
|
||||
|
||||
if (req.LastId.HasValue)
|
||||
|
||||
Reference in New Issue
Block a user