summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Woolcock <paul@woolcock.us>2019-04-25 06:32:07 -0400
committerPaul Woolcock <paul@woolcock.us>2019-04-25 06:32:07 -0400
commitb4af698e01a42662210add85432570606f1d29f6 (patch)
treeedd902ab7321b170650ce3a92f6aa6745a43c40f /src
parent73cf194167b0d7250ce5d648113d6aa255d54188 (diff)
Fix Card entity to take a number for width x height
Diffstat (limited to 'src')
-rw-r--r--src/entities/card.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/card.rs b/src/entities/card.rs
index 9849964..ec9471c 100644
--- a/src/entities/card.rs
+++ b/src/entities/card.rs
@@ -22,7 +22,7 @@ pub struct Card {
/// OEmbed data
html: Option<String>,
/// OEmbed data
- width: Option<String>,
+ width: Option<u64>,
/// OEmbed data
- height: Option<String>,
+ height: Option<u64>,
}