Skip to content

Commit

Permalink
fix: dont cache 401
Browse files Browse the repository at this point in the history
  • Loading branch information
lostb1t committed Nov 15, 2023
1 parent d009e6f commit 5a9070b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,6 @@ impl MetaData {
}
}
}

let mut cache_expiry = crate::cache::Expiration::Month;
image.as_ref()?; // dont return and dont cache, let us just retry next time.
let _ = GLOBAL_CACHE
Expand Down

0 comments on commit 5a9070b

Please sign in to comment.