add status to get settings for ai
This commit is contained in:
parent
f5fe8654df
commit
ac54bf45ee
@ -95,6 +95,7 @@ type ShavedQuiz struct {
|
|||||||
DueTo uint64 `json:"due"`
|
DueTo uint64 `json:"due"`
|
||||||
TimeOfPassing uint64 `json:"delay"`
|
TimeOfPassing uint64 `json:"delay"`
|
||||||
Pausable bool `json:"pausable"`
|
Pausable bool `json:"pausable"`
|
||||||
|
Status string `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ShavedQuestion shortened struct for delivery data to customer
|
// ShavedQuestion shortened struct for delivery data to customer
|
||||||
@ -297,6 +298,7 @@ func dao2dtoQuiz(quiz model.Quiz) ShavedQuiz {
|
|||||||
DueTo: quiz.DueTo,
|
DueTo: quiz.DueTo,
|
||||||
TimeOfPassing: quiz.TimeOfPassing,
|
TimeOfPassing: quiz.TimeOfPassing,
|
||||||
Pausable: quiz.Pausable,
|
Pausable: quiz.Pausable,
|
||||||
|
Status: quiz.Status,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user