Skip to content

Commit 743ccba

Browse files
Bug 1925091 - Make Android FxaAccountManager supply comma-separate list of values for service=sync
1 parent 90b5bdd commit 743ccba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cli-support/src/fxa_creds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn create_fxa_creds(path: &str, cfg: FxaConfig, scopes: &[&str]) -> Result<Firef
5252
}
5353

5454
fn handle_oauth_flow(path: &str, acct: &FirefoxAccount, scopes: &[&str]) -> Result<()> {
55-
let oauth_uri = acct.begin_oauth_flow(scopes, "fxa_creds", &["sync"])?;
55+
let oauth_uri = acct.begin_oauth_flow(scopes, "fxa_creds", &["sync".to_string()])?;
5656

5757
if webbrowser::open(oauth_uri.as_ref()).is_err() {
5858
log::warn!("Failed to open a web browser D:");

0 commit comments

Comments
 (0)