Browse Source

Merge branch 'dani-garcia:main' into main

pull/6388/head
Henning 3 weeks ago
committed by GitHub
parent
commit
3b8af41c5f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      src/api/core/accounts.rs

9
src/api/core/accounts.rs

@ -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…
Cancel
Save