feat: add cron

This commit is contained in:
2025-06-26 02:56:55 +08:00
parent 003d8840fd
commit 3a8eb88e1a
25 changed files with 947 additions and 215 deletions

View File

@@ -122,9 +122,7 @@ impl Model {
.filter(Column::FeedType.eq(FeedType::Rss))
.one(db)
.await?
.ok_or(RecorderError::ModelEntityNotFound {
entity: "Feed".into(),
})?;
.ok_or(RecorderError::from_model_not_found("Feed"))?;
let feed = Feed::from_model(ctx, feed_model).await?;