Update object response struct
This commit is contained in:
@@ -77,7 +77,7 @@ type PaginatedObjectsResponse struct {
|
||||
}
|
||||
|
||||
type SuiObjectResponse struct {
|
||||
Data SuiObjectData `json:"data"`
|
||||
Data *SuiObjectData `json:"data,omitempty"`
|
||||
Error *SuiObjectResponseError `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user