Fix PodcastManager.js indentation

This commit is contained in:
Marcos Carvalho 2023-10-03 23:00:03 +01:00 committed by GitHub
parent 56ff12eaaf
commit ecdafcdcc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -337,9 +337,7 @@ class PodcastManager {
} }
podcast.lastEpisodeCheck = Date.now() podcast.lastEpisodeCheck = Date.now()
podcast.updatedAt = Date.now() podcast.updatedAt = Date.now()
await Database.podcastModel.update(podcast, { await Database.podcastModel.update(podcast, {where: { id: podcastId }})
where: { id: podcastId }
})
return {lastEpisodeCheck: podcast.lastEpisodeCheck, lastSuccessfulFetchAt: podcast.lastSuccessfulFetchAt, feedHealthy: podcast.feedHealthy} return {lastEpisodeCheck: podcast.lastEpisodeCheck, lastSuccessfulFetchAt: podcast.lastSuccessfulFetchAt, feedHealthy: podcast.feedHealthy}
} }
@ -418,5 +416,4 @@ class PodcastManager {
} }
} }
} }
module.exports = PodcastManager module.exports = PodcastManager