Wrong invalidate args (#1493)

wrong invalidate args
This commit is contained in:
Brendan Allan 2023-10-11 17:29:29 +08:00 committed by GitHub
parent babb895ac6
commit 287ccad11f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,9 +23,8 @@ pub fn spawn_volume_watcher(library: Arc<Library>) {
existing_volumes = current_volumes;
invalidate_query!(
&library,
"volumes.list":
Vec<Volume>,
existing_volumes.iter().cloned().collect::<Vec<_>>()
"volumes.list": (),
()
);
}
}