read comment notification working
This commit is contained in:
parent
9222069ef5
commit
246d21f85a
17 changed files with 86 additions and 111 deletions
|
|
@ -12,7 +12,7 @@ class Notification
|
|||
protected Author $author;
|
||||
protected string $date;
|
||||
protected string $id;
|
||||
protected string $isread = "false";
|
||||
protected array $readby = [];
|
||||
|
||||
protected ?Position $position = null;
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ class Notification
|
|||
"author" => $this->author->toArray(),
|
||||
"date" => $this->date,
|
||||
"id" => $this->id,
|
||||
"isread" => $this->isread,
|
||||
"readby" => $this->readby,
|
||||
];
|
||||
|
||||
return $array;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue