From: Dessalines Date: Tue, 13 Sep 2022 21:02:37 +0000 (-0400) Subject: The language id is crucial for front ends. (#2437) X-Git-Url: http://these/git/%7Biframely.thumbnail_url%7D?a=commitdiff_plain;h=a93095ed3fce64d25bef25f71faa9ad917453f49;p=lemmy.git The language id is crucial for front ends. (#2437) --- diff --git a/crates/db_schema/src/source/language.rs b/crates/db_schema/src/source/language.rs index 7b2a730b..042eba3b 100644 --- a/crates/db_schema/src/source/language.rs +++ b/crates/db_schema/src/source/language.rs @@ -8,7 +8,6 @@ use crate::schema::language; #[cfg_attr(feature = "full", derive(Queryable, Identifiable))] #[cfg_attr(feature = "full", table_name = "language")] pub struct Language { - #[serde(skip)] pub id: LanguageId, pub code: String, pub name: String,