diff --git a/service/service.go b/service/service.go index f5164e5..ccd51e9 100644 --- a/service/service.go +++ b/service/service.go @@ -95,6 +95,7 @@ type ShavedQuiz struct { DueTo uint64 `json:"due"` TimeOfPassing uint64 `json:"delay"` Pausable bool `json:"pausable"` + Status string `json:"status"` } // ShavedQuestion shortened struct for delivery data to customer @@ -297,6 +298,7 @@ func dao2dtoQuiz(quiz model.Quiz) ShavedQuiz { DueTo: quiz.DueTo, TimeOfPassing: quiz.TimeOfPassing, Pausable: quiz.Pausable, + Status: quiz.Status, } }