We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4d1cf commit 627c8cfCopy full SHA for 627c8cf
src/backend/services/article.actions.ts
@@ -49,6 +49,7 @@ export async function createMyArticle(
49
body: input.body ?? null,
50
cover_image: input.cover_image ?? null,
51
published_at: input.is_published ? new Date() : null,
52
+ created_at: new Date(),
53
author_id: sessionUserId,
54
approved_at: new Date(), // TODO: manually handle this from seperate dashboard
55
},
0 commit comments