mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Replace createdAt with savedAt
This commit is contained in:
parent
98ea1016d5
commit
a42bb7ab38
1 changed files with 2 additions and 1 deletions
|
|
@ -434,7 +434,8 @@ export const getArticleResolver: ResolverFn<
|
|||
|
||||
if (
|
||||
page.state === ArticleSavingRequestStatus.Processing &&
|
||||
new Date(page.createdAt).getTime() < new Date().getTime() - 1000 * 30
|
||||
page.savedAt &&
|
||||
new Date(page.savedAt).getTime() < new Date().getTime() - 1000 * 30
|
||||
) {
|
||||
page.content = `<p>${UNPARSEABLE_CONTENT}</p>`
|
||||
page.description = UNPARSEABLE_CONTENT
|
||||
|
|
|
|||
Loading…
Reference in a new issue