From 3d73cc9402eb33815b7ca35cad1ae6f5f0b38a94 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sat, 1 Apr 2017 12:46:25 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20Ely=20property?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/data/SignedTexturesResponse.go | 2 +- lib/routes/SignedTextures.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/data/SignedTexturesResponse.go b/lib/data/SignedTexturesResponse.go index cf0ec16..4c5eef9 100644 --- a/lib/data/SignedTexturesResponse.go +++ b/lib/data/SignedTexturesResponse.go @@ -9,6 +9,6 @@ type SignedTexturesResponse struct { type Property struct { Name string `json:"name"` - Signature string `json:"signature"` + Signature string `json:"signature,omitempty"` Value string `json:"value"` } diff --git a/lib/routes/SignedTextures.go b/lib/routes/SignedTextures.go index 090a32f..916042b 100644 --- a/lib/routes/SignedTextures.go +++ b/lib/routes/SignedTextures.go @@ -31,6 +31,10 @@ func SignedTextures(w http.ResponseWriter, r *http.Request) { Signature: rec.MojangSignature, Value: rec.MojangTextures, }, + { + Name: "ely", + Value: "but why are you asking?", + }, }, }