Commit 4a6bdd82 authored by Łukasz Magiera's avatar Łukasz Magiera

coreapi: separate path into two types

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent d1e9c97f
......@@ -120,7 +120,7 @@ func ParsePath(txt string) (Path, error) {
if _, err := ParseCidToPath(parts[2]); err != nil {
return "", err
}
} else if parts[1] != "ipns" {
} else if parts[1] != "ipns" && parts[1] != "ipld" { //TODO: make this smarter
return "", ErrBadPath
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment