From 4d2ebbd80526262562f48e25257e565ec69bb370 Mon Sep 17 00:00:00 2001 From: Justin Hawkins Date: Fri, 28 Jun 2024 18:59:10 +0930 Subject: [PATCH] This does not need context --- tools/tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools.go b/tools/tools.go index 09e4921..c8d2ec0 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -24,6 +24,6 @@ func ImageToPayload(i image.Image) string { // SVGToPayload create the string necessary to send an SVG // via a ESSetImage struct -func SVGToPayload(context string, svg string) string { +func SVGToPayload(svg string) string { return "data:image/svg+xml;charset=utf8," + svg }