add fix for get voice settigns
This commit is contained in:
parent
0edcf6fab8
commit
d231e70f9f
@ -208,7 +208,7 @@ type VoiceSettingsResponse struct {
|
|||||||
|
|
||||||
type UpdateVoiceSettings struct {
|
type UpdateVoiceSettings struct {
|
||||||
Enable *bool `json:"enable"`
|
Enable *bool `json:"enable"`
|
||||||
VoiceSpeed *string `json:"voice_speed" validate:"oneof=low medium high"`
|
VoiceSpeed *string `json:"voice_speed" validate:"omitempty,oneof=low medium high"`
|
||||||
Scenery *string `json:"scenery"`
|
Scenery *string `json:"scenery"`
|
||||||
VoiceSoundPercent *int `json:"voice_sound_percent"`
|
VoiceSoundPercent *int `json:"voice_sound_percent"`
|
||||||
MinPrice *int `json:"min_price"`
|
MinPrice *int `json:"min_price"`
|
||||||
|
@ -260,7 +260,8 @@ SELECT
|
|||||||
voice_speed,
|
voice_speed,
|
||||||
scenery,
|
scenery,
|
||||||
voice_sound_percent,
|
voice_sound_percent,
|
||||||
min_price
|
min_price,
|
||||||
|
enable
|
||||||
FROM voice_settings
|
FROM voice_settings
|
||||||
WHERE streamer_id = (@streamer_id);
|
WHERE streamer_id = (@streamer_id);
|
||||||
`
|
`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user