Update InternalApiController, limit remote profile ui to remote profiles

pull/2083/head
Daniel Supernault 2020-04-16 20:18:32 -06:00
rodzic 6ac7f4ffcc
commit d918a68e8b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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();