diff --git a/server/src/services/feed.ts b/server/src/services/feed.ts index 3e64a84c..031a939b 100644 --- a/server/src/services/feed.ts +++ b/server/src/services/feed.ts @@ -329,7 +329,7 @@ export function FeedService() { like(feeds.summary, searchKeyword), like(feeds.alias, searchKeyword)); const feed_list = (await cache.getOrSet(cacheKey, () => db.query.feeds.findMany({ - where: and(where, eq(feeds.draft, 0)), + where: admin ? where : and(where, eq(feeds.draft, 0)), columns: admin ? undefined : { draft: false, listed: false