fix: General객체에서 permission과 penalty를 받아오지 않는 버그

This commit is contained in:
2023-03-09 02:20:15 +09:00
parent 245d363c99
commit 951143120b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -76,6 +76,7 @@ class GetFrontInfo extends \sammo\BaseAPI
'conlimit',
]);
$lastVote = null;
if ($lastVoteID) {
$voteStor = KVStorage::getStorage($db, 'vote');
$lastVote = VoteInfo::fromArray($voteStor->getValue("vote_{$lastVoteID}"));