瀏覽代碼

Update ExportSettings

Daniel Supernault 6 年之前
父節點
當前提交
a23900ed8b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Http/Controllers/Settings/ExportSettings.php

+ 1 - 1
app/Http/Controllers/Settings/ExportSettings.php

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