Unverified Commit d904df57 authored by Philipp Bandow's avatar Philipp Bandow Committed by GitHub
Browse files

Bugfix error message in rest function

parent d507979e
...@@ -160,7 +160,7 @@ _njalla_rest() { ...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment