mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-16 21:11:06 +00:00
refactor: allow unused vars until pagination implementation
This commit is contained in:
parent
f054130c12
commit
60c3f37a65
1 changed files with 2 additions and 1 deletions
|
|
@ -109,12 +109,13 @@ pub async fn create_candidate(
|
|||
)
|
||||
}
|
||||
|
||||
#[allow(unused_variables)]
|
||||
#[get("/candidates?<field>&<page>")]
|
||||
pub async fn list_candidates(
|
||||
conn: Connection<'_, Db>,
|
||||
session: AdminAuth,
|
||||
field: Option<String>,
|
||||
page: Option<u64>,
|
||||
page: Option<u64>,
|
||||
) -> Result<Json<Vec<ApplicationResponse>>, Custom<String>> {
|
||||
let db = conn.into_inner();
|
||||
let private_key = session.get_private_key();
|
||||
|
|
|
|||
Loading…
Reference in a new issue