fixed parse bug

This commit is contained in:
gdlbo
2024-02-19 23:16:55 +03:00
parent c18ea2846f
commit cd6ed0f51f
@@ -53,7 +53,7 @@ public class VotesService {
JSONArray prodBase = object.getJSONArray(PROD_KEY);
JSONArray testBase = object.getJSONArray(VOTE_KEY);
if (prodBase.length() == 0 || testBase.length() == 0) {
if (prodBase.length() == 0 && testBase.length() == 0) {
return Collections.emptyMap();
}