Bugfix error message in rest function

This commit is contained in:
Philipp Bandow 2020-05-07 15:45:47 +02:00 committed by GitHub
parent d507979ec1
commit d904df57ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ _njalla_rest() {
response="$(_post "$data" "$NJALLA_Api" "" "POST")" response="$(_post "$data" "$NJALLA_Api" "" "POST")"
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
_err "error $ep" _err "error $data"
return 1 return 1
fi fi
_debug2 response "$response" _debug2 response "$response"