Explorar o código

Update InternalApiController, limit remote profile ui to remote profiles

Daniel Supernault %!s(int64=5) %!d(string=hai) anos
pai
achega
d918a68e8b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();