File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
fplus-lib/src/core/allocator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ pub async fn process_allocator_file(file_name: &str) -> Result<AllocatorModel, L
18
18
let branch = "main" ;
19
19
let path = file_name. to_string ( ) ;
20
20
21
- let gh = GithubWrapper :: new ( owner. clone ( ) , repo. clone ( ) , installation_id) ;
21
+ let gh = GithubWrapper :: new ( owner. clone ( ) , repo. clone ( ) , installation_id. clone ( ) ) ;
22
22
let content_items = gh. get_file ( & path, branch) . await . map_err ( |e| LDNError :: Load ( e. to_string ( ) ) ) ?;
23
23
let mut model = content_items_to_allocator_model ( content_items) . map_err ( |e| LDNError :: Load ( e. to_string ( ) ) ) ?;
24
24
@@ -63,7 +63,7 @@ fn content_items_to_allocator_model(file: ContentItems) -> Result<AllocatorModel
63
63
}
64
64
65
65
pub async fn is_allocator_repo_created ( owner : & str , repo : & str ) -> Result < bool , LDNError > {
66
- let repo_flag_file = "invalisd .md" ;
66
+ let repo_flag_file = "invalid .md" ;
67
67
let applications_directory = "applications" ;
68
68
let gh = github_async_new ( owner. to_string ( ) , repo. to_string ( ) ) . await ;
69
69
let all_files_result = gh. get_files ( applications_directory) . await . map_err ( |e| {
You can’t perform that action at this time.
0 commit comments