Change get articles to read from database instead of dummy data.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
use serde_derive::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct JsonUser {
|
||||
pub user_id: i32,
|
||||
}
|
||||
Reference in New Issue
Block a user