radicle/id: always return default branch as cref
This fixes a bug where the canonical_refs method wouldn’t return the
default branch if the repo had no canonical refs defined in the paylaod
key of the id document
1 file changed
+10
-12
e9245b63
→
5f358c1b
modified crates/radicle/src/identity/doc.rs
@@ -921,21 +921,19 @@ impl crefs::GetCanonicalRefs for Doc {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|