Efe Aydın
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
server_side/api/voting_system/app.py
|
|
@ -32,7 +32,7 @@ class Votings(Resource): |
|
|
|
|
|
|
|
def post(self): |
|
|
|
args = parser.parse_args() |
|
|
|
voting_id = max(len(votings)) + 1 |
|
|
|
voting_id = len(votings) + 1 |
|
|
|
voting = { |
|
|
|
'id': voting_id, |
|
|
|
'name': args['name'], |
|
|
|