mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update StatusController, fix reblog_count bug
This commit is contained in:
parent
8763bfc5c4
commit
1dc65e933e
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class StatusController extends Controller
|
|||
->whereIn('scope', ['public', 'unlisted'])
|
||||
->findOrFail($request->input('item'));
|
||||
|
||||
$count = $status->shares_count;
|
||||
$count = $status->shares()->count();
|
||||
|
||||
$exists = Status::whereProfileId(Auth::user()->profile->id)
|
||||
->whereReblogOfId($status->id)
|
||||
|
|
Loading…
Reference in a new issue