mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #1531 from omnivore-app/fix/rule
Fix rule action not triggered due to the page index not being refreshed after page creation
This commit is contained in:
commit
58209b5c41
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ export const createPage = async (
|
|||
updatedAt: new Date(),
|
||||
savedAt: new Date(),
|
||||
},
|
||||
refresh: ctx.refresh,
|
||||
refresh: 'wait_for', // wait for the index to be refreshed before returning
|
||||
})
|
||||
|
||||
page.id = body._id as string
|
||||
|
|
|
|||
Loading…
Reference in a new issue