Fix example
This commit is contained in:
parent
9027ebfe84
commit
6fd27827a0
|
@ -10,19 +10,19 @@ async fn run() -> Result<(), GolgiError> {
|
||||||
let id = sbot_client.whoami().await?;
|
let id = sbot_client.whoami().await?;
|
||||||
println!("whoami: {}", id);
|
println!("whoami: {}", id);
|
||||||
|
|
||||||
// let name = SsbMessageContent::About {
|
let name = SsbMessageContent::About {
|
||||||
// about: id.clone(),
|
about: id.clone(),
|
||||||
// name: Some("golgi".to_string()),
|
name: Some("golgi".to_string()),
|
||||||
// title: None,
|
title: None,
|
||||||
// branch: None,
|
branch: None,
|
||||||
// image: None,
|
image: None,
|
||||||
// description: None,
|
description: None,
|
||||||
// location: None,
|
location: None,
|
||||||
// start_datetime: None,
|
start_datetime: None,
|
||||||
// };
|
};
|
||||||
//
|
|
||||||
// let name_msg_ref = sbot_client.publish(name).await?;
|
let name_msg_ref = sbot_client.publish(name).await?;
|
||||||
// println!("name_msg_ref: {}", name_msg_ref);
|
println!("name_msg_ref: {}", name_msg_ref);
|
||||||
|
|
||||||
let post = SsbMessageContent::Post {
|
let post = SsbMessageContent::Post {
|
||||||
text: "golgi go womp womp".to_string(),
|
text: "golgi go womp womp".to_string(),
|
||||||
|
|
Loading…
Reference in New Issue