Init
continuous-integration/drone/push Build is passing Details

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
1 changed files with 2 additions and 1 deletions

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)
})