From f5fd8864d5d5c9cacce35c50287e8039f575a48a Mon Sep 17 00:00:00 2001 From: effany <72710849+effany@users.noreply.github.com> Date: Tue, 24 Sep 2024 10:16:24 +0200 Subject: [PATCH] change the way to adding token --- tasks/connectors/aqua/lib/aqua_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/connectors/aqua/lib/aqua_helper.rb b/tasks/connectors/aqua/lib/aqua_helper.rb index b5009674..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("token") + token = auth_json["token"] print_error "Login failed: No token received" unless token else