diff options
Diffstat (limited to 'rh-bin/authtoken.json')
-rwxr-xr-x | rh-bin/authtoken.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rh-bin/authtoken.json b/rh-bin/authtoken.json index 7b2fdba..9e4c332 100755 --- a/rh-bin/authtoken.json +++ b/rh-bin/authtoken.json @@ -59,4 +59,4 @@ $answer{'token'} = $token; print "Content-type: application/json; charset=UTF-8\n"; print "Status: $responsecode\n\n"; -print encode_json \%answer; +print JSON->new->encode(\%answer); |