diff options
Diffstat (limited to 'dichroism/src/dtos/mod.rs')
-rw-r--r-- | dichroism/src/dtos/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dichroism/src/dtos/mod.rs b/dichroism/src/dtos/mod.rs index 76b04c7..d7e1ab5 100644 --- a/dichroism/src/dtos/mod.rs +++ b/dichroism/src/dtos/mod.rs @@ -62,9 +62,9 @@ impl From<models::Product> for Product { quantity: p.quantity, featured: p.featured, category: p.category, - photo_fullsize: p.photo_set.fullsize.path, - photo_base: p.photo_set.base.path, - photo_thumbnail: p.photo_set.thumbnail.path, + photo_fullsize: p.photo_set.fullsize.filename, + photo_base: p.photo_set.base.filename, + photo_thumbnail: p.photo_set.thumbnail.filename, } } } |