Correct func name
This commit is contained in:
parent
e3436a553a
commit
5b349724eb
@ -163,7 +163,7 @@ type ESSetImagePayload struct {
|
|||||||
State int `json:"state"`
|
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{
|
return ESSetImage{
|
||||||
ESCommon: ESCommon{
|
ESCommon: ESCommon{
|
||||||
Event: "setImage",
|
Event: "setImage",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user