Support older releases in test_service CLI command

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
This commit is contained in:
Johann Hoffmann
2022-05-05 12:56:57 +02:00
parent 7a070009b1
commit 17144ed439

View File

@@ -427,6 +427,10 @@ test_service() {
check_response $result_file
USER_ID="$(jq -r '.id' < $result_file)"
if [[ $USER_ID == null ]]; then
USER_ID="$(jq -r '.Id' < $result_file)"
fi
echo
echo "-------------"
echo "Get test user"