update quiz repo
This commit is contained in:
parent
d9bb9204af
commit
fb272e7a17
@ -42,7 +42,7 @@ var EmptyResponseErrorGigaChat = errors.New("empty response from GigaChat try ag
|
|||||||
type GigaChatAudience struct {
|
type GigaChatAudience struct {
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
QuizID int64 `json:"quiz_id"`
|
QuizID int64 `json:"quiz_id"`
|
||||||
Sex int `json:"sex"` // 0 - female, 1 - male, 2 - not sex
|
Sex int32 `json:"sex"` // 0 - female, 1 - male, 2 - not sex
|
||||||
Age string `json:"age"`
|
Age string `json:"age"`
|
||||||
Deleted bool `json:"deleted"`
|
Deleted bool `json:"deleted"`
|
||||||
CreatedAt int64 `json:"created_at"`
|
CreatedAt int64 `json:"created_at"`
|
||||||
|
@ -664,7 +664,7 @@ func (r *QuizRepository) TemplateCopy(ctx context.Context, accountID, qID string
|
|||||||
|
|
||||||
type DepsCreateQuizAudience struct {
|
type DepsCreateQuizAudience struct {
|
||||||
QuizID int64 `json:"quiz_id"`
|
QuizID int64 `json:"quiz_id"`
|
||||||
Sex bool `json:"sex"` // false - female, true - male
|
Sex int32 `json:"sex"` // 0 - female, 1 - male, 2 - not sex
|
||||||
Age string `json:"age"`
|
Age string `json:"age"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user