Fixes for back translations

This commit is contained in:
kngako committed 2022-01-08 03:34:51 +02:00
1 parent ed0535e14a
commit c7e08c1944
2 files changed
+47 -37

No files matched your search

+5 -1
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 => {