Commit 51a0dc40 by Maiyannah Bishop

Fix error code here

1 parent 41e283eb
......@@ -53,7 +53,7 @@ class ApiAccountVerifyCredentialsAction extends ApiAuthAction
if (!in_array($this->format, array('xml', 'json'))) {
// TRANS: Client error displayed when coming across a non-supported API method.
$this->clientError(_('API method not found.'), $code = 404);
$this->clientError(_('API method not found.'), $code = 401);
}
$twitter_user = $this->twitterUserArray($this->auth_user->getProfile(), true);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!