Browse Source

fixed an error with id set

pull/2/head
Efe Aydın 6 years ago
committed by GitHub
parent
commit
c4b83694b7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server_side/api/voting_system/app.py

+ 1
- 1
server_side/api/voting_system/app.py View File

@ -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'],


Loading…
Cancel
Save