mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update LikeService
This commit is contained in:
parent
2fb916c22b
commit
168c19c5b6
1 changed files with 5 additions and 0 deletions
|
@ -80,4 +80,9 @@ class LikeService {
|
|||
|
||||
return $res;
|
||||
}
|
||||
|
||||
public static function count($id)
|
||||
{
|
||||
return Like::whereStatusId($id)->count();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue