Twitter-compatible API - location_update was spitting out the wrong profile. Fixed.

darcs-hash:20080721174438-ca946-1f1ddc79f8117561e98a17b143714f5daae1283e.gz
This commit is contained in:
zach 2008-07-21 13:44:38 -04:00
parent e304f42b47
commit 80facfa16d

View File

@ -80,9 +80,11 @@ class TwitapiaccountAction extends TwitterapiAction {
}
common_broadcast_profile($profile);
$type = $apidata['content-type'];
$apidata['api_arg'] = $user->id;
$this->show($args, $apidata);
$this->init_document($type);
$this->show_profile($profile, $type);
$this->end_document($type);
exit();
}