mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
bug 7059: Fixed the async output to use the object name
This commit is contained in:
parent
224da7e775
commit
563b45a220
@ -53,7 +53,7 @@ public class ApiSerializerHelper {
|
||||
Gson gson = ApiGsonHelper.getBuilder().create();
|
||||
Object obj = gson.fromJson(content, clz);
|
||||
if (nameField != null) {
|
||||
((ResponseObject)obj).setResponseName(nameField);
|
||||
((ResponseObject)obj).setObjectName(nameField);
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user