summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-13 18:14:55 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-13 18:14:55 -0700
commiteea2a6527d6e57cb2abda420e51b7b97c3c8e0b8 (patch)
treead836d52c132356b2847c94b257ef1f6a189f1dc
parent3085605aeed230ee003f4f406f5b76d6214db079 (diff)
downloadfatcat-eea2a6527d6e57cb2abda420e51b7b97c3c8e0b8.tar.gz
fatcat-eea2a6527d6e57cb2abda420e51b7b97c3c8e0b8.zip
rust: size_bytes -> size
-rw-r--r--rust/src/entity_crud.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs
index 19122548..b111ec53 100644
--- a/rust/src/entity_crud.rs
+++ b/rust/src/entity_crud.rs
@@ -1441,7 +1441,7 @@ impl EntityCrud for WebcaptureEntity {
url: c.url,
mimetype: c.mimetype,
status_code: c.status_code,
- size_bytes: c.size_bytes,
+ size: c.size_bytes,
sha1: c.sha1,
sha256: c.sha256,
})
@@ -1530,7 +1530,7 @@ impl EntityCrud for WebcaptureEntity {
url: c.url.clone(),
mimetype: c.mimetype.clone(),
status_code: c.status_code,
- size_bytes: c.size_bytes,
+ size_bytes: c.size,
sha1: c.sha1.clone(),
sha256: c.sha256.clone(),
})