From ac54bf45ee86b7c04e8c72d13b2b9fa083eb1b1f Mon Sep 17 00:00:00 2001 From: skeris Date: Tue, 22 Apr 2025 17:43:47 +0300 Subject: [PATCH] add status to get settings for ai --- service/service.go | 2 ++ 1 file changed, 2 insertions(+) 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, } }