madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21999: LJSUP-12148: JSON-RPC

Committer: sbelyaev
LJSUP-12148: JSON-RPC
U   trunk/cgi-bin/LJ/JSON/RPC/Item.pm
Modified: trunk/cgi-bin/LJ/JSON/RPC/Item.pm
===================================================================
--- trunk/cgi-bin/LJ/JSON/RPC/Item.pm	2012-05-18 13:18:20 UTC (rev 21998)
+++ trunk/cgi-bin/LJ/JSON/RPC/Item.pm	2012-05-18 13:27:41 UTC (rev 21999)
@@ -105,7 +105,7 @@
         my $remote = LJ::get_remote;
         my @params_vars = keys %{$self->{'params'}};
         my $auth = LJ::Auth->ajax_auth_token($remote, $self->{'uri'}, \@params_vars);
-        $result->{'auth'} = $auth;
+        $result->{'auth_token'} = $auth;
         $resp->{'result'} = $result; 
     }
  

Tags: livejournal, madeon, pm, sbelyaev
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments