Fix broken root node reply

This commit is contained in:
Hans Mündelein 2023-05-26 16:33:25 +02:00
parent ffec874584
commit 12aafe2dc0
Signed by: hans
GPG Key ID: BA7B55E984CE74F4
1 changed files with 3 additions and 0 deletions

View File

@ -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());
} }