Skip to content

Commit af4d038

Browse files
committed
Fix: updated function to fix syntax bugs
1 parent 9f8f09a commit af4d038

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fplus-lib/src/core/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ impl LDNApplication {
239239
}
240240

241241
pub async fn all_applications() -> Result<Vec<(ApplicationFile, String, String)>, Vec<LDNError>> {
242-
let allocators = database::get_allocators().await.map_err(|_| LDNError::new("Failed to get allocators from the database"))?;
242+
let allocators = database::get_allocators().await.map_err(|_| LDNError::New("Failed to get allocators from the database"))?;
243243
let mut all_apps: Vec<(ApplicationFile, String, String)> = Vec::new();
244244
let mut errors: Vec<LDNError> = Vec::new();
245245

246246
for allocator in allocators {
247-
match active(allocator.owner.clone(), allocator.repo.clone(), None).await {
247+
match Self::active(allocator.owner.clone(), allocator.repo.clone(), None).await {
248248
Ok(apps) => {
249249
for app in apps {
250250
all_apps.push((app, allocator.repo.clone(), allocator.owner.clone()));
@@ -256,7 +256,7 @@ impl LDNApplication {
256256
},
257257
}
258258

259-
match merged(allocator.owner.clone(), allocator.repo.clone()).await {
259+
match Self::merged(allocator.owner.clone(), allocator.repo.clone()).await {
260260
Ok(merged_apps) => {
261261
for app in merged_apps {
262262
all_apps.push((app.1, allocator.repo.clone(), allocator.owner.clone()));

0 commit comments

Comments
 (0)