This commit is contained in:
Omer Sabic 2024-06-21 16:25:25 +02:00
parent fca37022d7
commit 6081f56b85

View File

@ -93,7 +93,7 @@ export const blogRoutes = (fastify, _, done) => {
is_public: articlesTable.is_public,
created_at: articlesTable.created_at,
status: articlesTable.status
}).where(and(eq(articlesTable.site_id, site.id), not(articlesTable.status, "done")));
}).from(articlesTable).where(and(eq(articlesTable.site_id, site.id), not(articlesTable.status, "done")));
}
response.send({