fix: clippy
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/linux Pipeline was successful
ci/woodpecker/push/mingw Pipeline was successful

This commit is contained in:
nyyu 2024-12-15 15:37:44 +01:00
parent 2e88801934
commit 87cd892c04

View file

@ -135,10 +135,7 @@ impl KBDataSource {
.set("Authorization", token.as_str()) .set("Authorization", token.as_str())
.call() .call()
{ {
Ok(resp) => match resp.into_json() { Ok(resp) => resp.into_json().unwrap_or_default(),
Ok(val) => val,
Err(_) => None,
},
Err(_) => None, Err(_) => None,
}; };
} }