Skip to content

Commit e1ab637

Browse files
songguocolakevinlin09
authored andcommitted
fix: fix device.uuid setting
1 parent 220ac88 commit e1ab637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/alibaba/dashscope/multimodal/MultiModalRequestParam.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public Map<String, Object> getParameters() {
172172
clientInfoParams.put(CONST_NAME_CLIENT_INFO_USER_ID, clientInfo.userId);
173173
if (clientInfo.device != null) {
174174
val deviceParams = new HashMap<String, Object>();
175-
deviceParams.put(CONST_NAME_CLIENT_INFO_DEVICE_UUID, clientInfo.device);
175+
deviceParams.put(CONST_NAME_CLIENT_INFO_DEVICE_UUID, clientInfo.device.uuid);
176176
clientInfoParams.put(CONST_NAME_CLIENT_INFO_DEVICE, deviceParams);
177177
}
178178
if (clientInfo.network != null) {

0 commit comments

Comments
 (0)