derp
This commit is contained in:
parent
fddfe65b7b
commit
26800a3700
@ -30,6 +30,10 @@ class APWebfingerController extends Controller
|
||||
|
||||
$user = $user[0];
|
||||
$actual_user = User::where ("name", $user)->first ();
|
||||
if (!isset ($actual_user)) {
|
||||
return response ()->json ([ "error" => "user not found" ], 404);
|
||||
}
|
||||
|
||||
$webfinger = [
|
||||
"subject" => $resource,
|
||||
"links" => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user