Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b6844b85e |
+3
-3
@@ -441,11 +441,11 @@ async fn process_tag(
|
||||
};
|
||||
|
||||
// Link the wanted_item to this track so get_unwanted() won't delete it
|
||||
if let Some(ref wanted) = found_wanted {
|
||||
if wanted.track_id != Some(track.id) {
|
||||
if let Some(ref wanted) = found_wanted
|
||||
&& wanted.track_id != Some(track.id)
|
||||
{
|
||||
let _ = queries::wanted::update_track_id(conn, wanted.id, track.id).await;
|
||||
}
|
||||
}
|
||||
|
||||
if found_wanted.is_none() {
|
||||
let item = queries::wanted::add(
|
||||
|
||||
Reference in New Issue
Block a user