Skip to content

Commit 175258d

Browse files
[autofix.ci] apply automated fixes (attempt 2/3)
1 parent 564d545 commit 175258d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ee/tabby-webserver/src/oauth/general.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ impl OAuthClient for GeneralClient {
164164
let redirect_uri =
165165
RedirectUrl::new(self.auth.oauth_callback_url(OAuthProvider::General).await?)?;
166166
let scopes_supported = match credential.config_scopes {
167-
Some(config_scopes) => config_scopes.split_whitespace().map(|s| s.to_string()).collect(),
167+
Some(config_scopes) => config_scopes
168+
.split_whitespace()
169+
.map(|s| s.to_string())
170+
.collect(),
168171
None => vec!["openid".into(), "profile".into(), "email".into()],
169172
};
170173

0 commit comments

Comments
 (0)