Reworked friendship API endpoints

This commit is contained in:
Michael 2021-11-21 16:59:09 +00:00
parent 87084a3e85
commit a4ef4589e6
7 changed files with 250 additions and 191 deletions

View file

@ -293,7 +293,7 @@ class BaseApi extends BaseModule
}
}
public static function getContactIDForSearchterm(string $screen_name, int $cid, int $uid)
public static function getContactIDForSearchterm(string $screen_name = null, int $cid = null, int $uid)
{
if (!empty($cid)) {
return $cid;