forked from mirror/pixelfed
Update LikeService
This commit is contained in:
parent
2fb916c22b
commit
168c19c5b6
|
@ -80,4 +80,9 @@ class LikeService {
|
||||||
|
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function count($id)
|
||||||
|
{
|
||||||
|
return Like::whereStatusId($id)->count();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue