From 4b6a2685d0cf59707d2a77e6f47172b1e38096b0 Mon Sep 17 00:00:00 2001 From: Wyatt Verchere Date: Mon, 4 Dec 2023 19:44:48 -0800 Subject: [PATCH] fixed gallery mislabeled field (#783) --- src/models/v2/projects.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/v2/projects.rs b/src/models/v2/projects.rs index 384097968..0f23b618f 100644 --- a/src/models/v2/projects.rs +++ b/src/models/v2/projects.rs @@ -340,7 +340,7 @@ impl From for LegacyVersion { pub struct LegacyGalleryItem { pub url: String, pub featured: bool, - pub name: Option, + pub title: Option, pub description: Option, pub created: DateTime, pub ordering: i64, @@ -351,7 +351,7 @@ impl LegacyGalleryItem { Self { url: data.url, featured: data.featured, - name: data.name, + title: data.name, description: data.description, created: data.created, ordering: data.ordering,