From cab5dca08952a225bc8884ddda24cf459af08852 Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Tue, 28 Feb 2023 10:30:14 -0800 Subject: [PATCH] minor tweaks 1 --- lib/gxg/net_clients.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gxg/net_clients.rb b/lib/gxg/net_clients.rb index 38efdcd..f0ab749 100644 --- a/lib/gxg/net_clients.rb +++ b/lib/gxg/net_clients.rb @@ -3784,8 +3784,8 @@ module GxG if response if response.code.to_i == 200 @connector = the_connector - response.body.rewind() - the_csrf = ::Hash::gxg_import(JSON::parse(response.body.read().decode64, :symbolize_names => true)) + # response.body.rewind() + the_csrf = ::Hash::gxg_import(JSON::parse(response.body.decode64, :symbolize_names => true)) @csrf = the_csrf[:csrf] end end