Skip to content

Commit

Permalink
set sentence status = 'official' when inserting batch
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Oct 15, 2017
1 parent 99106e8 commit 855ad5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/core/sentence/sentence.insertBatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = function insertBatch(elements) {
sentence.service = element.service;
sentence.label = element.label;
sentence.language = element.language;
sentence.status = 'official';

return gladys.sentence.create(sentence);
});
Expand Down

0 comments on commit 855ad5a

Please sign in to comment.