mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
we don't want to update an rss feed page if rss-feeder is tring to re-save it
This commit is contained in:
parent
0426bdb29f
commit
9bc7ed92c0
1 changed files with 8 additions and 0 deletions
|
|
@ -141,6 +141,14 @@ export const savePage = async (
|
|||
url: articleToSave.url,
|
||||
})
|
||||
if (existingPage) {
|
||||
// we don't want to update an rss feed page if rss-feeder is tring to re-save it
|
||||
if (existingPage.rssFeedUrl === input.rssFeedUrl) {
|
||||
return {
|
||||
clientRequestId: pageId,
|
||||
url: `${homePageURL()}/${saver.username}/${slug}`,
|
||||
}
|
||||
}
|
||||
|
||||
pageId = existingPage.id
|
||||
slug = existingPage.slug
|
||||
if (
|
||||
|
|
|
|||
Loading…
Reference in a new issue