From 8363e70cac061f6592332fd269929739481a55d8 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Fri, 26 Apr 2024 19:03:57 -0700 Subject: [PATCH] Update actor_language.rs --- crates/db_schema/src/impls/actor_language.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/db_schema/src/impls/actor_language.rs b/crates/db_schema/src/impls/actor_language.rs index ea5f2f609..682be2ed0 100644 --- a/crates/db_schema/src/impls/actor_language.rs +++ b/crates/db_schema/src/impls/actor_language.rs @@ -96,7 +96,7 @@ impl LocalUserLanguage { let forms = lang_ids .iter() - .map(|l| LocalUserLanguageForm { + .map(|&l| LocalUserLanguageForm { local_user_id: for_local_user_id, language_id: l, }) @@ -171,7 +171,7 @@ impl SiteLanguage { let forms = lang_ids .iter() - .map(|l| SiteLanguageForm { + .map(|&l| SiteLanguageForm { site_id: for_site_id, language_id: l, })