File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments