mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-09-14 15:21:53 +00:00
add magnetCommentIdParend and approved fields to the API
This commit is contained in:
parent
e7470fa4a2
commit
0e14d6b9a8
@ -364,11 +364,13 @@ try
|
|||||||
{
|
{
|
||||||
$comments[] = (object)
|
$comments[] = (object)
|
||||||
[
|
[
|
||||||
'magnetCommentId' => $comment->magnetCommentId,
|
'magnetCommentId' => $comment->magnetCommentId,
|
||||||
'userId' => $comment->userId,
|
'magnetCommentIdParent' => $comment->magnetCommentIdParent,
|
||||||
'magnetId' => $comment->magnetId,
|
'userId' => $comment->userId,
|
||||||
'timeAdded' => $comment->timeAdded,
|
'magnetId' => $comment->magnetId,
|
||||||
'value' => $comment->value
|
'timeAdded' => $comment->timeAdded,
|
||||||
|
'approved' => $comment->approved,
|
||||||
|
'value' => $comment->value
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user