read project creation request notification working
This commit is contained in:
parent
c75c5e1d8a
commit
7038185e7f
2 changed files with 12 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue