mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-07-15 06:18:08 +00:00
Fetch informations about pages like
This commit is contained in:
@ -260,6 +260,9 @@ class User{
|
||||
//Add background image url
|
||||
$return['backgroundImage'] = CS::get()->components->backgroundImage->getPath($return['userID']);
|
||||
|
||||
//Get the number of likes of the page
|
||||
$return['pageLikes'] = CS::get()->components->likes->count($return['userID'], Likes::LIKE_USER);
|
||||
|
||||
}
|
||||
|
||||
//Return result
|
||||
|
Reference in New Issue
Block a user