diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-26 23:43:56 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-26 23:45:02 -0800 |
commit | da113570daf4b2d17cd828e3b512774485870ff0 (patch) | |
tree | 075b02998eb3eb4d4d0878317dbd0a71ef8b64a9 /rust/src/bin | |
parent | 32cd25bf48d54f5ede4e327d073d2782e4a81524 (diff) | |
download | fatcat-da113570daf4b2d17cd828e3b512774485870ff0.tar.gz fatcat-da113570daf4b2d17cd828e3b512774485870ff0.zip |
implement hide flag
Diffstat (limited to 'rust/src/bin')
-rw-r--r-- | rust/src/bin/fatcat-export.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/bin/fatcat-export.rs b/rust/src/bin/fatcat-export.rs index 0d6d69b1..9dd5138e 100644 --- a/rust/src/bin/fatcat-export.rs +++ b/rust/src/bin/fatcat-export.rs @@ -73,7 +73,7 @@ macro_rules! generic_loop_work { fn $fn_name(row_receiver: channel::Receiver<IdentRow>, output_sender: channel::Sender<String>, db_conn: &DbConn, expand: Option<ExpandFlags>) { let result: Result<()> = (|| { for row in row_receiver { - let mut entity = $entity_model::db_get_rev(db_conn, row.rev_id.expect("valid, non-deleted row")) + let mut entity = $entity_model::db_get_rev(db_conn, row.rev_id.expect("valid, non-deleted row"), HideFlags::none()) .chain_err(|| "reading entity from database")?; //let mut entity = ReleaseEntity::db_get_rev(db_conn, row.rev_id.expect("valid, non-deleted row"))?; entity.state = Some("active".to_string()); // XXX |