forked from MightyPork/elefren-fork
Rework the Registration and App APIs
This puts `register` back to the way it was, and changes the "new" `register` to `build`.
This commit is contained in:
@@ -33,7 +33,7 @@ pub fn register() -> Result<Mastodon, Box<Error>> {
|
||||
.client_name("elefren-examples")
|
||||
.scopes(Scopes::All)
|
||||
.website("https://github.com/pwoolcoc/elefren")
|
||||
.register()?;
|
||||
.build()?;
|
||||
let url = registration.authorize_url()?;
|
||||
|
||||
println!("Click this link to authorize on Mastodon: {}", url);
|
||||
|
||||
Reference in New Issue
Block a user