mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update property unarchived=null instead of undefined in the page document in elastic
This commit is contained in:
parent
06cb18869b
commit
c1855afc72
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ export const createArticleResolver = authorized<
|
|||
articleToSave.id = newPageId
|
||||
} else {
|
||||
// update existing page's state from processing to succeeded
|
||||
articleToSave.archivedAt = archive ? saveTime : undefined
|
||||
articleToSave.archivedAt = archive ? saveTime : null
|
||||
const updated = await updatePage(pageId, articleToSave, {
|
||||
...ctx,
|
||||
uid,
|
||||
|
|
|
|||
Loading…
Reference in a new issue