From dcc96d0b349583e5d6a0f25ae1f7a3ffa3769788 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 2 Nov 2020 20:36:18 -0500 Subject: swapped json payload url encoded images for multipart form data --- dichroism/src/dtos/product_post.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dichroism/src/dtos/product_post.rs') diff --git a/dichroism/src/dtos/product_post.rs b/dichroism/src/dtos/product_post.rs index ef07536..ee3ba03 100644 --- a/dichroism/src/dtos/product_post.rs +++ b/dichroism/src/dtos/product_post.rs @@ -6,5 +6,5 @@ pub struct ProductPost { pub description: String, pub featured: bool, pub category_path: String, - pub photo_data: String, + pub photo_set: i32, } -- cgit v1.2.3