mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-02 10:05:33 +00:00
add magnetCommentIdParend and approved fields to the API
This commit is contained in:
parent
e7470fa4a2
commit
0e14d6b9a8
1 changed files with 7 additions and 5 deletions
|
|
@ -365,9 +365,11 @@ try
|
||||||
$comments[] = (object)
|
$comments[] = (object)
|
||||||
[
|
[
|
||||||
'magnetCommentId' => $comment->magnetCommentId,
|
'magnetCommentId' => $comment->magnetCommentId,
|
||||||
|
'magnetCommentIdParent' => $comment->magnetCommentIdParent,
|
||||||
'userId' => $comment->userId,
|
'userId' => $comment->userId,
|
||||||
'magnetId' => $comment->magnetId,
|
'magnetId' => $comment->magnetId,
|
||||||
'timeAdded' => $comment->timeAdded,
|
'timeAdded' => $comment->timeAdded,
|
||||||
|
'approved' => $comment->approved,
|
||||||
'value' => $comment->value
|
'value' => $comment->value
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue