diff --git a/client_side/interface/UserData/denunciation_map.html b/client_side/interface/UserData/denunciation_map.html index 34a6dac..37eb798 100644 --- a/client_side/interface/UserData/denunciation_map.html +++ b/client_side/interface/UserData/denunciation_map.html @@ -18,6 +18,7 @@ +
+ + + +
+ +
+
+ + + diff --git a/server_side/api/modules/databases/votings.json b/server_side/api/modules/databases/votings.json index 2229195..669fe93 100644 --- a/server_side/api/modules/databases/votings.json +++ b/server_side/api/modules/databases/votings.json @@ -35,7 +35,7 @@ "2": { "name": "Yi\u011fit \u00c7olako\u011flu Park\u0131", "desc": "Mahallemizin say\u0131n destek\u00e7isinin ad\u0131", - "votes": 0 + "votes": 2 } } } diff --git a/server_side/api/modules/voting_system.py b/server_side/api/modules/voting_system.py index 842ee30..bc4d4aa 100644 --- a/server_side/api/modules/voting_system.py +++ b/server_side/api/modules/voting_system.py @@ -77,8 +77,6 @@ class Voting(Resource): def get(self, voting_id): try: voting = copy.deepcopy(votings[voting_id - 1]) - for i in range(len(voting['votes'])): - del voting['votes'][str(i + 1)]['votes'] del voting['voters'] return voting