Fixes for back translations

This commit is contained in:
2022-01-08 03:34:51 +02:00
parent ed0535e14a
commit c7e08c1944
2 changed files with 47 additions and 37 deletions

View File

@@ -21,7 +21,11 @@ module.exports = function (options) {
association: db.ArtifactVersion.Chapters
},
{
association: db.ArtifactVersion.TranslationArtifactVersions
association: db.ArtifactVersion.TranslationArtifactVersions,
where: {
backTranslationFromId: null
},
required: false
}
]
}).then(artifactVersion => {