mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-03 04:06:48 +02:00
Enabled unused variable warning again, fixed some possible bugs where we didn't check some parameters, and explicitly marked all unused parameters (mostly orgheaders)
This commit is contained in:
1 parent
cbe73a31ea
commit
1a4b1a8254
6 files changed
+41
-20
No files matched your search
+4
-2
@@ -104,12 +104,14 @@ use api::{JsonResult, EmptyResult};
|
||||
use auth::Headers;
|
||||
|
||||
#[put("/devices/identifier/<uuid>/clear-token")]
|
||||
fn clear_device_token(uuid: String, conn: DbConn) -> JsonResult {
|
||||
fn clear_device_token(uuid: String, _conn: DbConn) -> JsonResult {
|
||||
println!("{}", uuid);
|
||||
err!("Not implemented")
|
||||
}
|
||||
|
||||
#[put("/devices/identifier/<uuid>/token")]
|
||||
fn put_device_token(uuid: String, conn: DbConn) -> JsonResult {
|
||||
fn put_device_token(uuid: String, _conn: DbConn) -> JsonResult {
|
||||
println!("{}", uuid);
|
||||
err!("Not implemented")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user