summaryrefslogtreecommitdiff
path: root/dichroism/src
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-11-08 21:26:34 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-11-08 21:26:34 -0500
commitc5280144de096c274f185fade287ccd63b954ceb (patch)
tree169f1c2ad86c68e5ccb37494398c5e2db33dca3d /dichroism/src
parent7dd36c0e699a1154c7163f25bf488fbd63edeafe (diff)
downloadtheglassyladies-c5280144de096c274f185fade287ccd63b954ceb.tar.xz
theglassyladies-c5280144de096c274f185fade287ccd63b954ceb.zip
fixed up product models and api calls, working on new product form
Diffstat (limited to 'dichroism/src')
-rw-r--r--dichroism/src/dtos/product_post.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/dichroism/src/dtos/product_post.rs b/dichroism/src/dtos/product_post.rs
index ee3ba03..c04b211 100644
--- a/dichroism/src/dtos/product_post.rs
+++ b/dichroism/src/dtos/product_post.rs
@@ -1,5 +1,6 @@
#[derive(Debug, Deserialize)]
pub struct ProductPost {
+ pub id: Option<i32>,
pub name: String,
pub quantity: i32,
pub cents: i32,