aboutsummaryrefslogtreecommitdiffstats
path: root/src/ynab/budget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ynab/budget.rs')
-rw-r--r--src/ynab/budget.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ynab/budget.rs b/src/ynab/budget.rs
index b802072..e9e7218 100644
--- a/src/ynab/budget.rs
+++ b/src/ynab/budget.rs
@@ -67,7 +67,9 @@ impl Budget {
txns.iter()
.map(|t| {
let mut ut = t.to_update_transaction();
- ut.flag_color = Some("green".to_string());
+ ut.flag_color = Some(
+ ynab_api::models::update_transaction::FlagColor::Green
+ );
ut
})
.collect(),