Browse Source

add magnetCommentIdParend and approved fields to the API

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

2
src/crontab/export/feed.php

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

Loading…
Cancel
Save