Init
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kekskurse 2022-01-16 11:56:34 +01:00
parent aa245d4877
commit 9c84c3dff1
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -13,7 +13,8 @@ func main() {
var p interface{}
err := json.NewDecoder(request.Body).Decode(&p)
if err != nil {
return "Somethuing go wrong"
writer.WriteHeader(http.StatusInternalServerError)
return
}
fmt.Println(p)
})