fddf
This commit is contained in:
parent
e1fb78448e
commit
aee3102e76
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ beams_client = PushNotifications(
|
||||||
@app.post("/@<username>/suicide")
|
@app.post("/@<username>/suicide")
|
||||||
@auth_required
|
@auth_required
|
||||||
def suicide(v, username):
|
def suicide(v, username):
|
||||||
t = int(time())
|
t = int(time)
|
||||||
if t - v.suicide_utc < 86400: abort(403)
|
if t - v.suicide_utc < 86400: abort(403)
|
||||||
user = get_user(username)
|
user = get_user(username)
|
||||||
suicide = f"""Hi there,
|
suicide = f"""Hi there,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue