Browse Source

add magnetCommentIdParend and approved fields to the API

main
ghost 1 year ago
parent
commit
0e14d6b9a8
  1. 12
      src/crontab/export/feed.php

12
src/crontab/export/feed.php

@ -364,11 +364,13 @@ try @@ -364,11 +364,13 @@ try
{
$comments[] = (object)
[
'magnetCommentId' => $comment->magnetCommentId,
'userId' => $comment->userId,
'magnetId' => $comment->magnetId,
'timeAdded' => $comment->timeAdded,
'value' => $comment->value
'magnetCommentId' => $comment->magnetCommentId,
'magnetCommentIdParent' => $comment->magnetCommentIdParent,
'userId' => $comment->userId,
'magnetId' => $comment->magnetId,
'timeAdded' => $comment->timeAdded,
'approved' => $comment->approved,
'value' => $comment->value
];
}
}

Loading…
Cancel
Save