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())
|
.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,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue