remove get_json methofd

This commit is contained in:
thecosmos
2020-04-14 14:02:16 +05:30
parent 1ed68d66e3
commit 04501f7cbc

View File

@@ -26,11 +26,6 @@ def callback():
return redirect(url_for(".me"))
@app.route("/get_json/")
def get_json():
return discord.get_json()
@app.route("/me/")
def me():
user = discord.fetch_user()
@@ -41,7 +36,6 @@ def me():
</head>
<body><img src='{user.avatar_url}' />
<a href={url_for("my_connections")}>Connections</a>
<a href={url_for("get_json")}>Get default JSON.</a>
</body>
</html>