mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
reset failed_at to null if a feed is refreshed successfully after failure
This commit is contained in:
parent
08aa5521d5
commit
e7fc2c4567
2 changed files with 2 additions and 2 deletions
|
|
@ -511,7 +511,7 @@ const processSubscription = async (
|
|||
|
||||
// fetch feed
|
||||
let itemCount = 0,
|
||||
failedAt: Date | undefined
|
||||
failedAt: Date | null = null
|
||||
|
||||
const feedLastBuildDate = feed.lastBuildDate
|
||||
logger.info(`Feed last build date ${feedLastBuildDate || 'N/A'}`)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ export const updateSubscription = async (
|
|||
lastFetchedChecksum: newData.lastFetchedChecksum || undefined,
|
||||
status: newData.status || undefined,
|
||||
scheduledAt: newData.scheduledAt || undefined,
|
||||
failedAt: newData.failedAt || undefined,
|
||||
failedAt: newData.failedAt,
|
||||
autoAddToLibrary: newData.autoAddToLibrary ?? undefined,
|
||||
isPrivate: newData.isPrivate ?? undefined,
|
||||
fetchContentType: newData.fetchContentType || undefined,
|
||||
|
|
|
|||
Loading…
Reference in a new issue