-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
* Add moderation methods * Add extra_data... * Add Object<T> for object types * Fix README * Fix tests * Remove unnecessary clone() and into() * Fix ModerationPrefs deserializer * Fix has_muted_word bluesky-social/atproto#2570 * Add ThreadViewPreference
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ Any HTTP client that implements [`atrium_xrpc::HttpClient`](https://docs.rs/atri | |
|
||
```rust,no_run | ||
use atrium_api::client::AtpServiceClient; | ||
use atrium_api::com::atproto::server::create_session::Input; | ||
use atrium_xrpc_client::reqwest::ReqwestClient; | ||
#[tokio::main] | ||
|
@@ -25,11 +24,14 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { | |
.com | ||
.atproto | ||
.server | ||
.create_session(Input { | ||
auth_factor_token: None, | ||
identifier: "[email protected]".into(), | ||
password: "hunter2".into(), | ||
}) | ||
.create_session( | ||
atrium_api::com::atproto::server::create_session::InputData { | ||
auth_factor_token: None, | ||
identifier: "[email protected]".into(), | ||
password: "hunter2".into(), | ||
} | ||
.into(), | ||
) | ||
.await; | ||
println!("{:?}", result); | ||
Ok(()) | ||
|
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.