Skip to content

Commit

Permalink
fix: Soft delete on last language delete
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCizmar committed Dec 18, 2023
1 parent 4944ba3 commit 90ea484
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class ImportService(
this.importTranslationRepository.deleteAllByLanguage(language)
this.importLanguageRepository.delete(language)
if (this.findLanguages(import = language.file.import).isEmpty()) {
hardDeleteImport(import)
deleteImport(import)
}
}

Expand Down

0 comments on commit 90ea484

Please sign in to comment.