mirror of
https://github.com/fluencelabs/fluid
synced 2025-06-20 00:31:20 +00:00
Fix compilation & warnings
This commit is contained in:
@ -11,12 +11,17 @@ pub fn add_post(message: String, username: String) -> AppResult<()> {
|
||||
}
|
||||
|
||||
pub fn get_all_posts(offset: u32, count: u32) -> AppResult<String> {
|
||||
log::info!("get all posts");
|
||||
log::info!("get all posts {} {}", offset, count);
|
||||
Ok("[]".to_string())
|
||||
}
|
||||
|
||||
pub fn get_posts_by_username(username: String, offset: u32, count: u32) -> AppResult<String> {
|
||||
log::info!("get all posts by username {}", username);
|
||||
log::info!(
|
||||
"get all posts by username {} {} {}",
|
||||
username,
|
||||
offset,
|
||||
count
|
||||
);
|
||||
Ok("[]".to_string())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user