mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-01-25 17:46:12 +01:00
Merge branch 'dani-garcia:main' into main
This commit is contained in:
commit
3b8af41c5f
1 changed files with 9 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ pub fn routes() -> Vec<rocket::Route> {
|
|||
put_device_token,
|
||||
put_clear_device_token,
|
||||
post_clear_device_token,
|
||||
get_tasks,
|
||||
post_auth_request,
|
||||
get_auth_request,
|
||||
put_auth_request,
|
||||
|
|
@ -1445,6 +1446,14 @@ async fn post_clear_device_token(device_id: DeviceId, conn: DbConn) -> EmptyResu
|
|||
put_clear_device_token(device_id, conn).await
|
||||
}
|
||||
|
||||
#[get("/tasks")]
|
||||
fn get_tasks(_client_headers: ClientHeaders) -> JsonResult {
|
||||
Ok(Json(json!({
|
||||
"data": [],
|
||||
"object": "list"
|
||||
})))
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
struct AuthRequestRequest {
|
||||
|
|
|
|||
Loading…
Reference in a new issue