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();
}
}