diff --git a/src/apps.rs b/src/apps.rs index e2da750..6130758 100644 --- a/src/apps.rs +++ b/src/apps.rs @@ -116,7 +116,7 @@ impl<'a> AppBuilder<'a> { .redirect_uris .unwrap_or_else(|| "urn:ietf:wg:oauth:2.0:oob".into()) .into(), - scopes: self.scopes.unwrap_or_else(|| Scopes::read_all()), + scopes: self.scopes.unwrap_or_else(Scopes::read_all), website: self.website.map(|s| s.into()), }) }