From d94bcd45d216708b09545bd3a4294dd49d2aa4c2 Mon Sep 17 00:00:00 2001 From: baummarten Date: Sat, 14 Jan 2023 20:06:55 +0100 Subject: [PATCH] Mastodon::new now wraps Mastodon::new_with_client --- src/registration.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/registration.rs b/src/registration.rs index f8ddc82..4e520f4 100644 --- a/src/registration.rs +++ b/src/registration.rs @@ -50,12 +50,7 @@ impl<'a> Registration<'a> { /// let registration = Registration::new("https://botsin.space"); /// ``` pub fn new>(base: I) -> Self { - Registration { - base: base.into(), - client: Client::new(), - app_builder: AppBuilder::new(), - force_login: false, - } + Registration::new_with_client(base, Client::new()) } /// Construct a new registration process to the instance of the `base` url,