awc-example: re-borrow session
This commit is contained in:
parent
c90c426a99
commit
8e84fd2387
|
@ -18,7 +18,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
|
||||
let client = awc::Client::new();
|
||||
|
||||
let awc_client = AwcClient::new(&client, session, config, &crypto);
|
||||
let awc_client = AwcClient::new(&client, &session, config, &crypto);
|
||||
|
||||
let id: ObjectId<NoteType> =
|
||||
object_id("https://masto.asonix.dog/users/asonix/statuses/107289461429162429".parse()?);
|
||||
|
|
Loading…
Reference in a new issue