Fix broken root node reply
This commit is contained in:
parent
ffec874584
commit
12aafe2dc0
|
|
@ -196,6 +196,9 @@ impl ProviderClient for ProviderOrchestrator {
|
||||||
root_node
|
root_node
|
||||||
}
|
}
|
||||||
async fn get_lib_node(&self, uuid: &str) -> Result<LibraryNode, ProviderError> {
|
async fn get_lib_node(&self, uuid: &str) -> Result<LibraryNode, ProviderError> {
|
||||||
|
if uuid == "/" {
|
||||||
|
return Ok(self.get_lib_root());
|
||||||
|
}
|
||||||
if uuid == "tidal" {
|
if uuid == "tidal" {
|
||||||
return Ok(self.tidal_client.get_lib_root());
|
return Ok(self.tidal_client.get_lib_root());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue