]> Untitled Git - lemmy.git/commitdiff
The language id is crucial for front ends. (#2437)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 13 Sep 2022 21:02:37 +0000 (17:02 -0400)
committerGitHub <noreply@github.com>
Tue, 13 Sep 2022 21:02:37 +0000 (21:02 +0000)
crates/db_schema/src/source/language.rs

index 7b2a730b8f5eba3ce941e72794d979a28989553f..042eba3bf3c596ff78aa22db1a3cf3b9b5eba385 100644 (file)
@@ -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,