Fixing tests
This commit is contained in:
parent
ce161386e7
commit
f5a3f8039d
2 changed files with 3 additions and 3 deletions
|
@ -1387,7 +1387,7 @@ function api_direct_messages_new($type)
|
|||
|
||||
$sender = DI::twitterUser()->createFromUserId($uid, true)->toArray();
|
||||
|
||||
$cid = BaseApi::getContactIDForSearchterm($_REQUEST['screen_name'] ?? '', $_REQUEST['profileurl'] ?? '', $_REQUEST['user_id'] ?? 0, $uid);
|
||||
$cid = BaseApi::getContactIDForSearchterm($_REQUEST['screen_name'] ?? '', $_REQUEST['profileurl'] ?? '', $_REQUEST['user_id'] ?? 0, 0);
|
||||
if (empty($cid)) {
|
||||
throw new NotFoundException('Recipient not found');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue