adjust app_id where /api/content/<hash> is called, fixes #2541 (#2543)

This commit is contained in:
Jaco Greeff
2016-10-10 16:34:16 +02:00
committed by Tomasz Drwięga
parent 271bcf4d5d
commit 06df5357e9
2 changed files with 5 additions and 3 deletions

View File

@@ -122,7 +122,7 @@ impl<R: URLHint> ContentFetcher<R> {
},
// We need to start fetching app
None => {
trace!(target: "dapps", "Content unavailable. Fetching...");
trace!(target: "dapps", "Content unavailable. Fetching... {:?}", content_id);
let content_hex = content_id.from_hex().expect("to_handler is called only when `contains` returns true.");
let content = self.resolver.resolve(content_hex);
@@ -415,4 +415,3 @@ mod tests {
assert_eq!(fetcher.contains("test3"), false);
}
}