Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
ab1e2bb0a7
@ -15,7 +15,7 @@ public function broadcast_to_user(Request $request, User $user): JsonResponse
|
|||||||
{
|
{
|
||||||
$this->validate($request, $this->rules());
|
$this->validate($request, $this->rules());
|
||||||
|
|
||||||
broadcast(new Users($user, $request->filled('type'), $request->all()));
|
broadcast(new Users($user, $request->input('type'), $request->all()));
|
||||||
|
|
||||||
return $this->created("message sent.");
|
return $this->created("message sent.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user