1
0
Fork 0
forked from mirror/pixelfed

Update ExportSettings

This commit is contained in:
Daniel Supernault 2019-04-24 21:13:10 -06:00
parent 2063bfc9fd
commit a23900ed8b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

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) {