Skip to content

Commit

Permalink
Merge branch 'release/42.2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Jul 28, 2020
2 parents 93d66e6 + 4d26e24 commit b8b0d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ func GetPriceHandler(c echo.Context) error {
}

// SendFleetHandler ...
// curl 127.0.0.1:1234/bot/planets/123/send-fleet -d 'ships="203,1"&ships="204,10"&speed=10&galaxy=1&system=1&type=1&position=1&mission=3&metal=1&crystal=2&deuterium=3'
// curl 127.0.0.1:1234/bot/planets/123/send-fleet -d 'ships=203,1&ships=204,10&speed=10&galaxy=1&system=1&type=1&position=1&mission=3&metal=1&crystal=2&deuterium=3'
func SendFleetHandler(c echo.Context) error {
bot := c.Get("bot").(*OGame)
planetID, err := strconv.ParseInt(c.Param("planetID"), 10, 64)
Expand Down

0 comments on commit b8b0d7e

Please sign in to comment.