convert approved value to the bool format

This commit is contained in:
ghost 2023-09-14 17:39:40 +03:00
parent 0e14d6b9a8
commit 959ccb28eb

View File

@ -369,7 +369,7 @@ try
'userId' => $comment->userId, 'userId' => $comment->userId,
'magnetId' => $comment->magnetId, 'magnetId' => $comment->magnetId,
'timeAdded' => $comment->timeAdded, 'timeAdded' => $comment->timeAdded,
'approved' => $comment->approved, 'approved' => (bool) $comment->approved,
'value' => $comment->value 'value' => $comment->value
]; ];
} }