From 79f2b0bcc73158b3bccdadc20de513bd7f14b74d Mon Sep 17 00:00:00 2001 From: Samuel Hawksby-Robinson Date: Mon, 30 Nov 2020 16:42:52 +0000 Subject: [PATCH] Address consistent json field case convention - use camelCase --- images/identity.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/identity.go b/images/identity.go index ad71bb26e..09337c2ad 100644 --- a/images/identity.go +++ b/images/identity.go @@ -35,13 +35,13 @@ func (i IdentityImage) MarshalJSON() ([]byte, error) { } temp := struct { - KeyUID string `json:"key_uid"` + KeyUID string `json:"keyUid"` Name string `json:"type"` URI string `json:"uri"` Width int `json:"width"` Height int `json:"height"` - FileSize int `json:"file_size"` - ResizeTarget int `json:"resize_target"` + FileSize int `json:"fileSize"` + ResizeTarget int `json:"resizeTarget"` }{ KeyUID: i.KeyUID, Name: i.Name,