mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
Convert the config uid to a string
This commit is contained in:
parent
002198d3d3
commit
9ec3d3673e
@ -58,7 +58,7 @@ def build_app(setup_path):
|
|||||||
|
|
||||||
@bp.route("/submit", methods=["POST"])
|
@bp.route("/submit", methods=["POST"])
|
||||||
def submit():
|
def submit():
|
||||||
uid = uuid.uuid4()
|
uid = str(uuid.uuid4())
|
||||||
data = flask.request.form.copy()
|
data = flask.request.form.copy()
|
||||||
data.update(dict(uid=uid, version=version))
|
data.update(dict(uid=uid, version=version))
|
||||||
db.set(uid, json.dumps(data))
|
db.set(uid, json.dumps(data))
|
||||||
|
Loading…
Reference in New Issue
Block a user