ai create only text question
This commit is contained in:
parent
c7d7f2fda8
commit
f5fe8654df
@ -394,6 +394,7 @@ func (s *Service) PutAnswersOnePiece(c *fiber.Ctx) error {
|
|||||||
_, err = s.dal.QuestionRepo.CreateQuestion(c.Context(), &model.Question{
|
_, err = s.dal.QuestionRepo.CreateQuestion(c.Context(), &model.Question{
|
||||||
QuizId: quiz.Id,
|
QuizId: quiz.Id,
|
||||||
Title: questionText,
|
Title: questionText,
|
||||||
|
Type: model.TypeText,
|
||||||
Session: cs,
|
Session: cs,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user