minor tweaks 2

This commit is contained in:
G. Gibson 2023-02-28 11:28:42 -08:00
parent 6264fa88fa
commit c6f84e00b6

View file

@ -158,7 +158,7 @@ module GxGwww
when :downgrade_credential
response = [200, {"content-type" => "application/text"}, {:result => ::GxGwww::api_logout(the_session['session_id']), :error => nil}.gxg_export.to_json.encrypt(the_session["csrf"]).encode64]
when :interface
response = [200, {"content-type" => "application/text"}, @service.interface(credential).gxg_export.to_json.encrypt(the_session["csrf"]).encode64]
response = [200, {"content-type" => "application/text"}, {:result => @service.interface(credential)}.gxg_export.to_json.encrypt(the_session["csrf"]).encode64]
else
begin
call_response = @service.call_event(operation, credential)