From e2fa79c3d1e1c99c745b20066020abf3d76e8c18 Mon Sep 17 00:00:00 2001 From: Omer Sabic Date: Fri, 21 Jun 2024 16:33:05 +0200 Subject: [PATCH] added source_id to queue --- src/routes/blog.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/routes/blog.js b/src/routes/blog.js index 7c888db..a3f5836 100644 --- a/src/routes/blog.js +++ b/src/routes/blog.js @@ -88,11 +88,9 @@ export const blogRoutes = (fastify, _, done) => { queue = await db.select({ id: articlesTable.id, title: articlesTable.title, - seo_slug: articlesTable.seo_slug, - views: articlesTable.views, - is_public: articlesTable.is_public, created_at: articlesTable.created_at, - status: articlesTable.status + status: articlesTable.status, + source_id: articlesTable.source_video_id }).from(articlesTable).where(and(eq(articlesTable.site_id, site.id), not(eq(articlesTable.status, "done")))); }