浏览代码

Update ImportController

Daniel Supernault 5 年之前
父节点
当前提交
3b7e9e07e1
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 8 8
      app/Http/Controllers/ImportController.php

+ 8 - 8
app/Http/Controllers/ImportController.php

@@ -6,15 +6,15 @@ use Illuminate\Http\Request;
 
 class ImportController extends Controller
 {
-    use Import\Instagram, Import\Mastodon;
+	use Import\Instagram, Import\Mastodon;
 
-    public function __construct()
-    {
-        $this->middleware('auth');
+	public function __construct()
+	{
+		$this->middleware('auth');
 
-        if(config('pixelfed.import.instagram.enabled') != true) {
-        	abort(404, 'Feature not enabled');
-        }
-    }
+		if(config('pixelfed.import.instagram.enabled') != true) {
+			abort(404, 'Feature not enabled');
+		}
+	}
 
 }