madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22572: LJSUP-13200: json rpc auth refactoring

Committer: sbelyaev
LJSUP-13200: json rpc auth refactoring
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-08-03 14:50:30 UTC (rev 22571)
+++ trunk/cgi-bin/LJ/JSON/RPC/Item.pm	2012-08-04 20:25:36 UTC (rev 22572)
@@ -4,7 +4,7 @@
 use warnings;
 
 use LJ::API::Error;
-use LJ::API::Auth;
+use LJ::API::RpcAuth;
 
 #
 # json request and response jpc 2.0
@@ -36,7 +36,7 @@
     #
     # Check for auth information
     #
-    my $access = LJ::API::Auth->rpc_access($uri, $params);
+    my $access = LJ::API::RpcAuth->rpc_access($uri, $params);
     $self->{'fatal'} = $access->{'error'};
     if ($self->{'fatal'}) {
         return $self;

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