Update actor_language.rs

This commit is contained in:
dullbananas 2024-04-20 18:24:48 -07:00 committed by GitHub
parent 5aec288bf9
commit bb1c918f00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,9 +84,9 @@ impl LocalUserLanguage {
.run(|conn| {
Box::pin(async move {
use crate::schema::local_user_language::dsl::{
language_id,
local_user_id,
local_user_language,
language_id,
};
// Delete old languages, not including new languages
let delete_old = delete(local_user_language)