Skip to content

Commit 4b2b209

Browse files
committed
Add missing file
1 parent 54cfb22 commit 4b2b209

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

fplus-http-server/src/router/application.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ use actix_web::{
22
error::{ErrorBadRequest, ErrorInternalServerError, ErrorNotFound},
33
get, post, web, HttpResponse, Responder,
44
};
5-
use fplus_database::database::applications::{
6-
get_allocator_closed_applications, get_closed_applications,
7-
};
5+
86
use fplus_lib::core::{
97
application::file::{StorageProviderChangeVerifier, VerifierInput},
108
ApplicationQueryParams, BranchDeleteInfo, CompleteGovernanceReviewInfo,
@@ -39,7 +37,7 @@ pub async fn single(
3937

4038
#[get("/applications/closed")]
4139
pub async fn closed_applications() -> actix_web::Result<impl Responder> {
42-
let apps = get_closed_applications()
40+
let apps = LDNApplication::get_closed_applications()
4341
.await
4442
.map_err(ErrorInternalServerError)?;
4543

@@ -54,7 +52,7 @@ pub async fn closed_allocator_applications(
5452
query: web::Query<GithubQueryParams>,
5553
) -> actix_web::Result<impl Responder> {
5654
let GithubQueryParams { owner, repo } = query.into_inner();
57-
let apps = get_allocator_closed_applications(&owner, &repo)
55+
let apps = LDNApplication::get_allocator_closed_applications(&owner, &repo)
5856
.await
5957
.map_err(ErrorInternalServerError)?;
6058

0 commit comments

Comments
 (0)