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

This commit is contained in:
Hide_D committed 2023-03-09 02:20:15 +09:00
1 parent 245d363c99
commit 951143120b
2 files changed
+2 -1

No files matched your search

+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}"));