mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Fix variable name
This commit is contained in:
parent
dec5309ef9
commit
bec0b1c3b2
@ -27,7 +27,7 @@ def dovecot_userdb_dict_list():
|
||||
|
||||
@internal.route("/dovecot/userdb/<path:user_email>")
|
||||
def dovecot_userdb_dict(user_email):
|
||||
quota = models.User.query.filter(models.User.email==email).with_entities(models.User.quota_bytes).one_or_none() or flask.abort(404)
|
||||
quota = models.User.query.filter(models.User.email==user_email).with_entities(models.User.quota_bytes).one_or_none() or flask.abort(404)
|
||||
return flask.jsonify({
|
||||
"quota_rule": "*:bytes="+quota[0]
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user