observer frontend
This commit is contained in:
@@ -52,6 +52,7 @@ pub async fn get(path: web::Path<JsonUser>, req: HttpRequest) -> impl Responder
|
||||
content: feed_item.content,
|
||||
url: feed_item.url,
|
||||
timestamp: time,
|
||||
id: feed_item.id,
|
||||
}
|
||||
})
|
||||
.collect();
|
||||
|
||||
@@ -6,6 +6,7 @@ pub struct Article {
|
||||
pub content: String,
|
||||
pub url: String,
|
||||
pub timestamp: String,
|
||||
pub id: i32,
|
||||
}
|
||||
|
||||
// impl Article {
|
||||
|
||||
Reference in New Issue
Block a user