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| { .run(|conn| {
Box::pin(async move { Box::pin(async move {
use crate::schema::local_user_language::dsl::{ use crate::schema::local_user_language::dsl::{
language_id,
local_user_id, local_user_id,
local_user_language, local_user_language,
language_id,
}; };
// Delete old languages, not including new languages // Delete old languages, not including new languages
let delete_old = delete(local_user_language) let delete_old = delete(local_user_language)