Rename ely field into chrly

This commit is contained in:
ErickSkrauch 2018-02-11 17:03:13 +03:00
parent a9f5632743
commit 055f3ce6c0
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E
2 changed files with 4 additions and 5 deletions

View File

@ -11,7 +11,6 @@ import (
type signedTexturesResponse struct {
Id string `json:"id"`
Name string `json:"name"`
IsEly bool `json:"ely,omitempty"`
Props []property `json:"properties"`
}
@ -41,8 +40,8 @@ func (cfg *Config) SignedTextures(response http.ResponseWriter, request *http.Re
Value: rec.MojangTextures,
},
{
Name: "ely",
Value: "but why are you asking?",
Name: "chrly",
Value: "how do you tame a horse in Minecraft?",
},
},
}

View File

@ -41,8 +41,8 @@ func TestConfig_SignedTextures(t *testing.T) {
"value": "mocked textures base64"
},
{
"name": "ely",
"value": "but why are you asking?"
"name": "chrly",
"value": "how do you tame a horse in Minecraft?"
}
]
}`, string(response))