Skip to content

Commit

Permalink
fix post json issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dmossakowski committed Nov 27, 2023
1 parent 680bb0a commit ce024ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions competitionsApp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1762,8 +1762,8 @@ def gyms_add():
formdata = request.form.to_dict(flat=False)

args1 = request.args
body = request.data
bodyj = request.json
#body = request.data
#bodyj = request.json
files = request.files

imgfilename = None
Expand Down Expand Up @@ -1818,7 +1818,7 @@ def gyms_update(gym_id):
**session)

body = request.data
bodyj = request.json
#bodyj = request.json
files = request.files
delete = formdata.get('delete')
save = formdata.get('save')
Expand Down

0 comments on commit ce024ae

Please sign in to comment.