Commit cd45ee72 by Иван Кубота

add seed attr in output object

parent bf32a3f5
Pipeline #523 canceled with stage
......@@ -91,7 +91,7 @@ const quizGenerator = function(type, photo, subType) {
// давай по новой
return _quizGenerator( type, photo, subType, attempt + 1 );
}
return {question: cfg.question.call(cfg, source, log), answers, log, type, image: !photo?'':true, category: 1}
return {seed: initialSeed, question: cfg.question.call(cfg, source, log), answers, log, type, image: !photo?'':true, category: 1}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment