summaryrefslogtreecommitdiffstats
path: root/rust/src/entity_crud.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 12:42:02 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 12:42:08 -0800
commitcbf615dda68367600c47c6867d27737c0113ca39 (patch)
tree8adb24be8f9e1a3eefd9253181d79bf7690b90ba /rust/src/entity_crud.rs
parent8bd35d2b452cef9d4537e2b84180aad0f43347ac (diff)
downloadfatcat-cbf615dda68367600c47c6867d27737c0113ca39.tar.gz
fatcat-cbf615dda68367600c47c6867d27737c0113ca39.zip
refactor to have consistent db conn argument order
'conn' parameter always comes first.
Diffstat (limited to 'rust/src/entity_crud.rs')
-rw-r--r--rust/src/entity_crud.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs
index 186ee20c..81b359da 100644
--- a/rust/src/entity_crud.rs
+++ b/rust/src/entity_crud.rs
@@ -1649,7 +1649,7 @@ impl EntityCrud for ReleaseEntity {
Some(redir) => FatCatId::from_str(&redir)?,
},
};
- self.files = Some(get_release_files(ident, HideFlags::none(), conn)?);
+ self.files = Some(get_release_files(conn, ident, HideFlags::none())?);
}
if expand.container {
if let Some(ref cid) = self.container_id {