Change get articles to read from database instead of dummy data.
This commit is contained in:
@@ -3,7 +3,7 @@ use serde::Serialize;
|
||||
use super::article::Article;
|
||||
|
||||
#[derive(Serialize)]
|
||||
pub struct Feed {
|
||||
pub struct FeedAggregate {
|
||||
pub title: String,
|
||||
pub items: Vec<Article>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user