This repository was archived by the owner on Mar 31, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -262,8 +262,7 @@ pub(crate) struct RepoAppInstallation {
262262
263263#[ derive( serde:: Deserialize , Debug ) ]
264264pub ( crate ) struct Repo {
265- #[ serde( rename = "node_id" ) ]
266- pub ( crate ) id : String ,
265+ pub ( crate ) node_id : String ,
267266 #[ serde( rename = "id" ) ]
268267 pub ( crate ) repo_id : u64 ,
269268 pub ( crate ) name : String ,
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ impl GitHubWrite {
230230 debug ! ( "Creating the repo {org}/{name} with {req:?}" ) ;
231231 if self . dry_run {
232232 Ok ( Repo {
233- id : String :: from ( "ID" ) ,
233+ node_id : String :: from ( "ID" ) ,
234234 repo_id : 0 ,
235235 name : name. to_string ( ) ,
236236 org : org. to_string ( ) ,
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ impl SyncGitHub {
337337 Ok ( RepoDiff :: Update ( UpdateRepoDiff {
338338 org : expected_repo. org . clone ( ) ,
339339 name : actual_repo. name ,
340- repo_node_id : actual_repo. id ,
340+ repo_node_id : actual_repo. node_id ,
341341 settings_diff : ( old_settings, new_settings) ,
342342 permission_diffs,
343343 branch_protection_diffs,
@@ -699,7 +699,7 @@ impl CreateRepoDiff {
699699 pattern : branch. clone ( ) ,
700700 operation : BranchProtectionDiffOperation :: Create ( protection. clone ( ) ) ,
701701 }
702- . apply ( sync, & self . org , & self . name , & repo. id ) ?;
702+ . apply ( sync, & self . org , & self . name , & repo. node_id ) ?;
703703 }
704704
705705 for installation in & self . app_installations {
You can’t perform that action at this time.
0 commit comments