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

View File

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