mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Return non-error if setting labels is a noop
This commit is contained in:
parent
82e4ecd524
commit
cceff32e5f
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ export const updateLabelsInPage = async (
|
|||
retry_on_conflict: 3,
|
||||
})
|
||||
|
||||
if (body.result === 'noop') return true
|
||||
if (body.result !== 'updated') return false
|
||||
if (labelsToAdd) {
|
||||
// publish labels to be added
|
||||
|
|
|
|||
Loading…
Reference in a new issue