19 lines
370 B
Go
19 lines
370 B
Go
package robots
|
|
|
|
import (
|
|
"jannex/robot-control-manager/modules/structs"
|
|
|
|
"git.ex.umbach.dev/Alex/roese-utils/rsutils"
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
func FirstRequest(c *fiber.Ctx) error {
|
|
var body structs.FirstRequestBody
|
|
|
|
if err := rsutils.BodyParserHelper(c, &body); err != nil {
|
|
return c.SendStatus(fiber.StatusBadRequest)
|
|
}
|
|
|
|
return c.JSON(fiber.Map{})
|
|
}
|