aboutsummaryrefslogtreecommitdiffstats
path: root/src/ynab/budget.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-07 10:42:15 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-07 10:42:15 -0500
commit90d3b963d7aa92076c5024b04476f9ddffd42214 (patch)
treecd7a5870e9364d4c91cd9440d1d69d94ef268839 /src/ynab/budget.rs
parent63ba77b996d0d14a80af2b296bc73726d547df00 (diff)
downloadynab-reimbursements-90d3b963d7aa92076c5024b04476f9ddffd42214.tar.gz
ynab-reimbursements-90d3b963d7aa92076c5024b04476f9ddffd42214.zip
update to the latest ynab-api
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(),