remotes/1693045480750635534/spooky-22
Aevann1 2021-09-06 04:59:59 +02:00
parent ef4fca3aa8
commit fbfc0d36db
1 changed files with 2 additions and 2 deletions

View File

@ -659,7 +659,7 @@ def unshadowban(user_id, v):
@validate_formkey
def verify(user_id, v):
user = g.db.query(User).filter_by(id=user_id).first()
user.verified = True
user.verified = "Verified"
g.db.add(user)
return "", 204
@ -668,7 +668,7 @@ def verify(user_id, v):
@validate_formkey
def unverify(user_id, v):
user = g.db.query(User).filter_by(id=user_id).first()
user.verified = False
user.verified = None
g.db.add(user)
return "", 204