1 parent b929a19 commit 949b597Copy full SHA for 949b597
1 file changed
src/api/light_cones/mod.rs
@@ -22,6 +22,7 @@ struct ApiDoc;
22
#[derive(Serialize, ToSchema)]
23
struct LightCone {
24
id: i32,
25
+ rarity: i32,
26
name: String,
27
path: String,
28
path_id: String,
@@ -31,6 +32,7 @@ impl From<database::light_cones::DbLightCone> for LightCone {
31
32
fn from(db_light_cone: database::light_cones::DbLightCone) -> Self {
33
Self {
34
id: db_light_cone.id,
35
+ rarity: db_light_cone.rarity,
36
name: db_light_cone.name,
37
path: db_light_cone.path,
38
path_id: db_light_cone.path_id,
0 commit comments