diff --git a/tasks/connectors/aqua/lib/aqua_helper.rb b/tasks/connectors/aqua/lib/aqua_helper.rb index 0d6f0a61..cc7994c9 100644 --- a/tasks/connectors/aqua/lib/aqua_helper.rb +++ b/tasks/connectors/aqua/lib/aqua_helper.rb @@ -49,7 +49,7 @@ def get_token(auth_url, username, password) if auth_response.code == 200 auth_json = JSON.parse(auth_response.body) - token = auth_json.dig("data", "token") + token = auth_json["token"] print_error "Login failed: No token received" unless token else