КГ
Size: a a a
КГ
MM
ES
КГ
MM
AL
MM
КГ
АС
NT
АС
А
MM
SZ
AD
func OrderStore(request inter.Request) inter.Response {
app := request.App()
// Validate JSON content from the request body
failures := val.Validate(app, request.Content(),
// ...
)
if len(failures) > 0 {
app.Log("slack").Notice("Incorrect order given")
return outcome.Json(failures)
}
// (...)
// Return the response with the saved orders
return outcome.Json(orders)
}
КГ
АС
AT
АС