Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Use correct scope when getting namespaces
Alexis Sellier committed 3 years ago
commit ebfd445034150956866bff17a861c0808e1ec9a0
parent 88c545bfdda8bae8a1ad463730a8ce99b0fc7c37
1 file changed +1 -1
modified radicle-node/src/service/tracking.rs
@@ -108,7 +108,7 @@ impl Config {
                error!(target: "service", "Attempted to fetch blocked repo {rid}");
                Err(NamespacesError::BlockedPolicy { rid: *rid })
            }
-
            Policy::Track => match self.scope {
+
            Policy::Track => match entry.scope {
                Scope::All => Ok(Namespaces::All),
                Scope::Trusted => {
                    let nodes = self