From 30e13399fa9f815cd1884fe87914cdb22d1985af Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 16 Jan 2026 04:21:10 +0100 Subject: begin refactor import --- import/src/plugins/vgmdb.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'import/src/plugins/vgmdb.rs') diff --git a/import/src/plugins/vgmdb.rs b/import/src/plugins/vgmdb.rs index 734c7af..c62eb90 100644 --- a/import/src/plugins/vgmdb.rs +++ b/import/src/plugins/vgmdb.rs @@ -62,7 +62,7 @@ impl Vgmdb { } } - pub fn get_artist_image(&self, id: u64, rt: &Handle) -> Result> { + pub fn get_artist_image(&self, id: u64, rt: &Handle) -> Result> { if let Some(url) = self.get_artist_image_url(id, rt)? { cache_store( format!("ext/vgmdb/artist-image/{}.image", HashKey(&url)), @@ -82,7 +82,6 @@ impl Vgmdb { }, ) .context("vgmdb media download") - .map(Asset) .map(Some) } else { Ok(None) -- cgit v1.3