Correct func name
This commit is contained in:
parent
e3436a553a
commit
5b349724eb
@ -163,7 +163,7 @@ type ESSetImagePayload struct {
|
||||
State int `json:"state"`
|
||||
}
|
||||
|
||||
func NewESSetImagePayload(context string, imageBase64 string, target EventTarget, state int) ESSetImage {
|
||||
func NewESSetImage(context string, imageBase64 string, target EventTarget, state int) ESSetImage {
|
||||
return ESSetImage{
|
||||
ESCommon: ESCommon{
|
||||
Event: "setImage",
|
||||
|
Loading…
x
Reference in New Issue
Block a user