From c5280144de096c274f185fade287ccd63b954ceb Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 8 Nov 2020 21:26:34 -0500 Subject: fixed up product models and api calls, working on new product form --- dichroism/src/dtos/product_post.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'dichroism/src') 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, pub name: String, pub quantity: i32, pub cents: i32, -- cgit v1.2.3