fix
This commit is contained in:
parent
fca37022d7
commit
6081f56b85
@ -93,7 +93,7 @@ export const blogRoutes = (fastify, _, done) => {
|
|||||||
is_public: articlesTable.is_public,
|
is_public: articlesTable.is_public,
|
||||||
created_at: articlesTable.created_at,
|
created_at: articlesTable.created_at,
|
||||||
status: articlesTable.status
|
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({
|
response.send({
|
||||||
|
Loading…
Reference in New Issue
Block a user