mirror of
https://github.com/the1024club/the1024.club.git
synced 2026-01-24 12:20:19 +00:00
Fix HTTP request method in app.route call
This commit is contained in:
@@ -70,7 +70,7 @@ def register():
|
||||
return response
|
||||
|
||||
|
||||
@app.route("/<fingerprint>", methods=["GET", "UPDATE", "DELETE"])
|
||||
@app.route("/<fingerprint>", methods=["GET", "PATCH", "DELETE"])
|
||||
def render_data(fingerprint):
|
||||
user = User.query.filter_by(fingerprint=fingerprint).first()
|
||||
if not user: return abort(404)
|
||||
|
||||
Reference in New Issue
Block a user