chore: cargo fmt

This commit is contained in:
Zack Fu Zi Xiang 2024-02-09 10:55:07 +08:00
parent 4a03a3be7c
commit 0665a456d2
No known key found for this signature in database
GPG Key ID: 39DE600AFEEED522
1 changed files with 7 additions and 4 deletions

View File

@ -373,10 +373,13 @@ impl Client {
pub async fn invite(&self, email: &str) -> Result<(), AppResponseError> { pub async fn invite(&self, email: &str) -> Result<(), AppResponseError> {
self self
.gotrue_client .gotrue_client
.magic_link(&MagicLinkParams { .magic_link(
email: email.to_owned(), &MagicLinkParams {
..Default::default() email: email.to_owned(),
}, None) ..Default::default()
},
None,
)
.await?; .await?;
Ok(()) Ok(())
} }