observer frontend

This commit is contained in:
2023-10-29 12:52:40 +01:00
parent b0280b0a41
commit 1789458830
4 changed files with 22 additions and 13 deletions
+1
View File
@@ -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();
+1
View File
@@ -6,6 +6,7 @@ pub struct Article {
pub content: String,
pub url: String,
pub timestamp: String,
pub id: i32,
}
// impl Article {