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
1 changed files with 5 additions and 0 deletions

View File

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