From 7dd36c0e699a1154c7163f25bf488fbd63edeafe Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sat, 7 Nov 2020 20:31:03 -0500 Subject: updated photo sets to not return original, added models to front, implemented front-to-back requests --- dichroism/src/dtos/photo_set_get.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'dichroism/src') diff --git a/dichroism/src/dtos/photo_set_get.rs b/dichroism/src/dtos/photo_set_get.rs index 0736617..b2e8d7b 100644 --- a/dichroism/src/dtos/photo_set_get.rs +++ b/dichroism/src/dtos/photo_set_get.rs @@ -3,7 +3,6 @@ use crate::models::PhotoSet; #[derive(Debug, Serialize)] pub struct PhotoSetGet { pub id: i32, - pub original: String, pub fullsize: String, pub base: String, pub thumbnail: String, @@ -13,7 +12,6 @@ impl From for PhotoSetGet { fn from(p: PhotoSet) -> Self { Self { id: p.id.unwrap_or(-1), - original: p.original.id, fullsize: p.fullsize.id, base: p.base.id, thumbnail: p.thumbnail.id, -- cgit v1.2.3