mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
fix(api): keep TimbreDetailsVO.sort nullable
Revert the field to Long so legacy timbre rows with a NULL sort keep deserializing instead of blowing up on unboxing.
This commit is contained in:
parent
0ccaf3a6b1
commit
6086ca1e18
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ public class TimbreDetailsVO implements Serializable {
|
||||||
private String referenceText;
|
private String referenceText;
|
||||||
|
|
||||||
@Schema(description = "Sort Order")
|
@Schema(description = "Sort Order")
|
||||||
private long sort;
|
private Long sort;
|
||||||
|
|
||||||
@Schema(description = "Corresponding TTS Model Primary Key")
|
@Schema(description = "Corresponding TTS Model Primary Key")
|
||||||
private String ttsModelId;
|
private String ttsModelId;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue