Update go-e.go
fixed localResponse URI
This commit is contained in:
parent
279dfe63a6
commit
95e21904fe
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ func (c *GoE) localResponse(function, payload string) (goeStatusResponse, error)
|
|||
|
||||
url := fmt.Sprintf("%s/%s", c.uri, function)
|
||||
if payload != "" {
|
||||
url += "&payload=" + payload
|
||||
url += "?payload=" + payload
|
||||
}
|
||||
|
||||
_, err := c.GetJSON(url, &status)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue