summaryrefslogtreecommitdiff
path: root/rh-bin
diff options
context:
space:
mode:
Diffstat (limited to 'rh-bin')
-rwxr-xr-xrh-bin/authtoken.json2
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);