1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

Update LikeService

This commit is contained in:
Daniel Supernault 2021-08-31 00:37:40 -06:00
parent 2fb916c22b
commit 168c19c5b6
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -80,4 +80,9 @@ class LikeService {
return $res;
}
public static function count($id)
{
return Like::whereStatusId($id)->count();
}
}