observer frontend
This commit is contained in:
1 parent
b0280b0a41
commit
1789458830
4 files changed
+22
-13
No files matched your search
@@ -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