fix: clippy
This commit is contained in:
parent
2e88801934
commit
87cd892c04
1 changed files with 1 additions and 4 deletions
|
@ -135,10 +135,7 @@ impl KBDataSource {
|
|||
.set("Authorization", token.as_str())
|
||||
.call()
|
||||
{
|
||||
Ok(resp) => match resp.into_json() {
|
||||
Ok(val) => val,
|
||||
Err(_) => None,
|
||||
},
|
||||
Ok(resp) => resp.into_json().unwrap_or_default(),
|
||||
Err(_) => None,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue