Przeglądaj źródła

Update InternalApiController, limit remote profile ui to remote profiles

Daniel Supernault 5 lat temu
rodzic
commit
d918a68e8b
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/Http/Controllers/InternalApiController.php

+ 1 - 0
app/Http/Controllers/InternalApiController.php

@@ -422,6 +422,7 @@ class InternalApiController extends Controller
     public function remoteProfile(Request $request, $id)
     {
         $profile = Profile::whereNull('status')
+            ->whereNotNull('domain')
             ->findOrFail($id);
         $user = Auth::user();