1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #1194 from pixelfed/frontend-ui-refactor

Update ExportSettings
This commit is contained in:
daniel 2019-04-24 21:13:37 -06:00 committed by GitHub
commit 6f0f55cb02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ trait ExportSettings
$limit = 300; $limit = 300;
$profile = Auth::user()->profile; $profile = Auth::user()->profile;
$type = $request->input('type') == 'ap' ? 'ap' : 'api'; $type = 'ap';
$count = Status::select('id')->whereProfileId($profile->id)->count(); $count = Status::select('id')->whereProfileId($profile->id)->count();
if($count > $limit) { if($count > $limit) {