fixed gallery mislabeled field (#783)

This commit is contained in:
Wyatt Verchere
2023-12-04 19:44:48 -08:00
committed by GitHub
parent e76b6c3bde
commit 4b6a2685d0

View File

@@ -340,7 +340,7 @@ impl From<Version> for LegacyVersion {
pub struct LegacyGalleryItem {
pub url: String,
pub featured: bool,
pub name: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub created: DateTime<Utc>,
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,