Testing tests again

This commit is contained in:
Michael 2021-11-17 23:03:18 +00:00
parent 84661e9468
commit a312940a21

View file

@ -600,10 +600,11 @@ function api_statuses_mediap($type)
$a = DI::app();
if (empty(BaseApi::getCurrentUserID())) {
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
throw new ForbiddenException();
}
BaseApi::checkAllowedScope(BaseApi::SCOPE_WRITE);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
$_REQUEST['profile_uid'] = BaseApi::getCurrentUserID();