diff --git a/libimagentrylink/src/external.rs b/libimagentrylink/src/external.rs index a6c2faef..baea8759 100644 --- a/libimagentrylink/src/external.rs +++ b/libimagentrylink/src/external.rs @@ -47,7 +47,7 @@ impl<'a> Link<'a> { /// Get a link Url object from a `FileLockEntry`, ignore errors. fn get_link_uri_from_filelockentry(file: &FileLockEntry<'a>) -> Option { file.get_header() - .read("imag.content.uri") + .read("imag.content.url") .ok() .and_then(|opt| match opt { Some(Value::String(s)) => Url::parse(&s[..]).ok(), @@ -58,7 +58,7 @@ impl<'a> Link<'a> { pub fn get_url(&self) -> Result> { let opt = self.link .get_header() - .read("imag.content.uri"); + .read("imag.content.url"); match opt { Ok(Some(Value::String(s))) => {