Permalink
Browse files

Oops, don't want to return the response object.

  • Loading branch information...
1 parent 52526f1 commit 06b5fbcc2f844146548a20a7d16bd22c1a0a2083 Benjamin Trott committed Mar 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/WWW/TypePad.pm
View
2 lib/WWW/TypePad.pm
@@ -140,7 +140,7 @@ sub _call {
$res = $oauth->make_restricted_request( $uri, $method, %extra );
if ( $res->is_redirect ) {
- return $oauth->make_restricted_request(
+ $res = $oauth->make_restricted_request(
$res->header( 'Location' ), $method, %extra
);
}

0 comments on commit 06b5fbc

Please sign in to comment.