From ce4f046258a994252fe0b934300497f255130405 Mon Sep 17 00:00:00 2001 From: Artem Date: Tue, 28 Jun 2022 14:43:44 +0300 Subject: [PATCH] Michelson parameters --- cmd/api/handlers/entrypoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/api/handlers/entrypoints.go b/cmd/api/handlers/entrypoints.go index 0f2ac822d..59edabd0e 100644 --- a/cmd/api/handlers/entrypoints.go +++ b/cmd/api/handlers/entrypoints.go @@ -104,7 +104,7 @@ func GetEntrypointData() gin.HandlerFunc { if handleError(c, ctx.Storage, err, 0) { return } - c.SecureJSON(http.StatusOK, michelson) + c.Data(http.StatusOK, gin.MIMEPlain, []byte(michelson)) return }