summaryrefslogtreecommitdiff
path: root/dichroism
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-11-07 20:31:03 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-11-07 20:31:03 -0500
commit7dd36c0e699a1154c7163f25bf488fbd63edeafe (patch)
tree1a0d76539acba7b77f1abe9fb443ac98523ed7e5 /dichroism
parent2c408648c70614a88c0412faf6d3a00d147379a2 (diff)
downloadtheglassyladies-7dd36c0e699a1154c7163f25bf488fbd63edeafe.tar.xz
theglassyladies-7dd36c0e699a1154c7163f25bf488fbd63edeafe.zip
updated photo sets to not return original, added models to front,
implemented front-to-back requests
Diffstat (limited to 'dichroism')
-rw-r--r--dichroism/src/dtos/photo_set_get.rs2
1 files changed, 0 insertions, 2 deletions
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<PhotoSet> 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,