Address consistent json field case convention - use camelCase
This commit is contained in:
parent
87f161da08
commit
79f2b0bcc7
|
@ -35,13 +35,13 @@ func (i IdentityImage) MarshalJSON() ([]byte, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
temp := struct {
|
temp := struct {
|
||||||
KeyUID string `json:"key_uid"`
|
KeyUID string `json:"keyUid"`
|
||||||
Name string `json:"type"`
|
Name string `json:"type"`
|
||||||
URI string `json:"uri"`
|
URI string `json:"uri"`
|
||||||
Width int `json:"width"`
|
Width int `json:"width"`
|
||||||
Height int `json:"height"`
|
Height int `json:"height"`
|
||||||
FileSize int `json:"file_size"`
|
FileSize int `json:"fileSize"`
|
||||||
ResizeTarget int `json:"resize_target"`
|
ResizeTarget int `json:"resizeTarget"`
|
||||||
}{
|
}{
|
||||||
KeyUID: i.KeyUID,
|
KeyUID: i.KeyUID,
|
||||||
Name: i.Name,
|
Name: i.Name,
|
||||||
|
|
Loading…
Reference in New Issue