mirror of
https://github.com/friendica/friendica
synced 2025-04-19 13:50:15 +00:00
Reworked friendship API endpoints
This commit is contained in:
parent
87084a3e85
commit
a4ef4589e6
7 changed files with 250 additions and 191 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue