mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 10:24:29 -07:00
minor tweaks 2
This commit is contained in:
parent
6264fa88fa
commit
c6f84e00b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue