mirror of
https://github.com/modrinth/code.git
synced 2026-08-27 10:04:52 +00:00
inline loader enum metadata fields
This commit is contained in:
@@ -136,7 +136,7 @@ pub struct QueryProductWithPrices {
|
||||
pub id: DBProductId,
|
||||
pub metadata: ProductMetadata,
|
||||
pub unitary: bool,
|
||||
#[serde(skip_serializing_if = "Option::is_none", default)]
|
||||
#[serde(default)]
|
||||
pub name: Option<String>,
|
||||
pub prices: Vec<DBProductPrice>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user