[ticket/17465] Remove obsolete json_decode

PHPBB-17465
This commit is contained in:
Marc Alexander 2025-02-06 19:48:42 +01:00
parent c937b8f7ab
commit e75d7a8410
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -133,10 +133,7 @@ class webpush
$notification_data = $this->get_anonymous_notifications();
}
// Decode and return data if everything is fine
$data = json_decode($notification_data, true);
return new JsonResponse($data);
return new JsonResponse($notification_data, 200, [], true);
}
/**