API: Functionality moved to new places

This commit is contained in:
Michael 2022-01-06 07:34:16 +00:00
parent 2b74e41312
commit 9414edd64a
4 changed files with 375 additions and 483 deletions

View file

@ -52,6 +52,8 @@ class UpdateProfile extends BaseApi
Contact::update(['about' => $request['description']], ['id' => $api_user['id']]);
}
Contact::updateSelfFromUserID($uid, true);
Profile::publishUpdate($uid);
$skip_status = $request['skip_status'] ?? false;