We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6badaf commit 444e264Copy full SHA for 444e264
src/app.py
@@ -42,7 +42,7 @@ def uploadgame():
42
file = {'file': ("game.zip", f.stream, "application/zip")}
43
fields = {'title': title, 'description': description, 'author':author}
44
r = requests.post(app.config["DEVCADE_API_URI"] + "games/", files=file, data=fields, headers={"frontend_api_key":app.config["FRONTEND_API_KEY"]})
45
- if r.status_code == 200:
+ if r.status_code == 201:
46
return flask.redirect('/catalog')
47
return "<p>" + r.text + "</p>"
48
0 commit comments