Fix fulfillment description

This commit is contained in:
SkyfallWasTaken 2024-07-20 10:07:29 +01:00
parent 73cc31d44f
commit a0219f5115

View file

@ -31,8 +31,12 @@ pub fn format_item_diff(old: &ShopItem, new: &ShopItem) -> Option<String> {
if old.fulfillment_description != new.fulfillment_description {
result.push(format!(
"*Fulfillment info:* {} → {}",
old.description.as_ref().unwrap_or(&"_not set_".into()),
new.description.as_ref().unwrap_or(&"_not set_".into())
old.fulfillment_description
.as_ref()
.unwrap_or(&"_not set_".into()),
new.fulfillment_description
.as_ref()
.unwrap_or(&"_not set_".into())
));
}