This does not need context

This commit is contained in:
Justin Hawkins 2024-06-28 18:59:10 +09:30
parent 5b349724eb
commit 4d2ebbd805

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
}