79646452

Date: 2025-05-31 08:52:31
Score: 1
Natty:
Report link

Found the solutions it was just simple as using user to pull the notifications and specify the array.

$notification = $user->notifications;
$response = $this->postJson("/api/notifications/{$notification[0]->id}");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TheBetweener