read project creation request notification working

This commit is contained in:
isUnknown 2025-01-23 16:30:17 +01:00
parent c75c5e1d8a
commit 7038185e7f
2 changed files with 12 additions and 1 deletions

View file

@ -8,7 +8,8 @@ return [
$data = json_decode($json);
try {
$project = page($data->projectId);
$project = page("projects")->findPageOrDraft($data->projectId);
$project->readNotification($data->notificationId);
return json_encode([
"status" => "success"