Skip to content

Commit d80fcc2

Browse files
authored
Add debug line
1 parent 1460e61 commit d80fcc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/oauth/PhutilMediaWikiAuthAdapter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ protected function loadOAuthAccountData() {
105105
list($body) = $future->resolvex();
106106
try {
107107
$data = phutil_json_decode($body);
108-
return $data;
108+
error_log(print_r($data,true));
109+
return $data['result']
109110
} catch (PhutilJSONParserException $ex) {
110111
throw new Exception(
111112
pht(

0 commit comments

Comments
 (0)