diff --git a/pkg/server/creators_api.go b/pkg/server/creators_api.go index 47f2fbe..21f53fb 100644 --- a/pkg/server/creators_api.go +++ b/pkg/server/creators_api.go @@ -64,8 +64,6 @@ func listOwnPost(c *fiber.Ctx) error { if realmId > 0 { tx = tx.Where(&models.Post{RealmID: lo.ToPtr(uint(realmId))}) - } else { - tx = tx.Where("realm_id IS NULL") } if len(c.Query("category")) > 0 {