Save original text when saving translation
This commit is contained in:
@@ -181,6 +181,7 @@ module.exports = function (options) {
|
||||
db.Chapter.create({
|
||||
creatorId: request.user.id,
|
||||
name: chunks[0].trim(),
|
||||
originalText: request.body.text,
|
||||
artifactVersionId: artifactVersion.id,
|
||||
chunks: chunks.map((chunk,index) => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user