mirror of
https://github.com/wassname/talk.git
synced 2026-08-13 12:40:11 +08:00
feat: added closedAt to createStory mutation (#2496)
This commit is contained in:
committed by
Kim Gardner
parent
1c75b7659d
commit
2edabf44c7
@@ -222,7 +222,9 @@ export async function findOrCreateStory(
|
||||
return upsertStory(mongo, tenantID, { url }, now);
|
||||
}
|
||||
|
||||
export type CreateStoryInput = Partial<Pick<Story, "metadata" | "scrapedAt">>;
|
||||
export type CreateStoryInput = Partial<
|
||||
Pick<Story, "metadata" | "scrapedAt" | "closedAt">
|
||||
>;
|
||||
|
||||
export async function createStory(
|
||||
mongo: Db,
|
||||
|
||||
Reference in New Issue
Block a user