keep magnet star history by add value field, update for distribution and reaction features

This commit is contained in:
ghost 2023-09-12 01:52:12 +03:00
parent 18f0c5d14e
commit 32884e1733
5 changed files with 16 additions and 49 deletions

View file

@ -132,7 +132,7 @@ else
'star' => (object)
[
'total' => $db->findMagnetStarsTotalByMagnetId($magnet->magnetId),
'status' => $db->findMagnetStarsTotal($magnet->magnetId, $userId),
'status' => $db->findLastMagnetStarValue($magnet->magnetId, $userId),
],
'access' => (object)
[