mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #2970 from omnivore-app/fix/rss-checksum-status
Send ok when checksum has not been updated
This commit is contained in:
commit
b27ff99bff
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ export const rssHandler = Sentry.GCPFunction.wrapHttpFunction(
|
|||
const fetchResult = await fetchAndChecksum(feedUrl)
|
||||
if (fetchResult.checksum === lastFetchedChecksum) {
|
||||
console.log('feed has not been updated', feedUrl, lastFetchedChecksum)
|
||||
return res.status(200)
|
||||
return res.send('ok')
|
||||
}
|
||||
const updatedLastFetchedChecksum = fetchResult.checksum
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue