Update InternalApiController, limit remote profile ui to remote profiles

This commit is contained in:
Daniel Supernault 2020-04-16 20:18:32 -06:00
parent 6ac7f4ffcc
commit d918a68e8b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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