1 Commits

Author SHA1 Message Date
4d2ebbd805 This does not need context 2024-06-28 18:59:10 +09:30

View File

@@ -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
}