Skip to content

Commit 21c96f2

Browse files
committed
Fix merge conflict issues
1 parent b364a2f commit 21c96f2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crates/q_cli/src/cli/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,7 @@ impl Cli {
429429
if let Some(secret_store) = secret_store {
430430
if let Ok(database) = database().map_err(|err| error!(?err, "failed to open database")) {
431431
// check builderid token flow
432-
<<<<<<< HEAD
433-
if let Ok(token) = BuilderIdToken::load(&secret_store, false).await {
434-
=======
435432
if let Ok(Some(token)) = BuilderIdToken::load(&secret_store, false).await {
436-
>>>>>>> qv2
437433
// Save the device registration. This is required for token refresh to succeed.
438434
let region = token.region.clone().map_or(OIDC_BUILDER_ID_REGION, Region::new);
439435
match DeviceRegistration::load_from_secret_store(&secret_store, &region).await {
@@ -468,11 +464,7 @@ impl Cli {
468464
Ok(Some(social)) => {
469465
if let Ok(social_json) = serde_json::to_string(&social) {
470466
database
471-
<<<<<<< HEAD
472-
.set_auth_value("codewhisperer:social:token", social_json)
473-
=======
474467
.set_auth_value(SocialToken::SECRET_KEY, social_json)
475-
>>>>>>> qv2
476468
.map_err(|err| error!(?err, "failed to write social token to auth db"))
477469
.ok();
478470
}

0 commit comments

Comments
 (0)