Skip to content
Snippets Groups Projects
Unverified Commit 43f3601d authored by HGEpro's avatar HGEpro Committed by GitHub
Browse files

Update main.py

parent 2e5213e7
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ async def edit_user(req, token):
discord = req.form.get("discord")
twitter = req.form.get("twitter")
bio = req.form.get("bio")
print(token)
res = await database.edit_user(app.ctx.db, token.encode("utf8"), email, discord, twitter, bio)
if not res:
......@@ -116,4 +116,4 @@ async def edit_user(req, token):
app.add_task(get_daily_message(app))
app.run(host="0.0.0.0", port=int(os.environ["PORT"]), debug=False)
#int(os.environ["PORT"])
\ No newline at end of file
#int(os.environ["PORT"])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment