mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +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"])
|
||||
def submit():
|
||||
uid = uuid.uuid4()
|
||||
uid = str(uuid.uuid4())
|
||||
data = flask.request.form.copy()
|
||||
data.update(dict(uid=uid, version=version))
|
||||
db.set(uid, json.dumps(data))
|
||||
|
Loading…
Reference in New Issue
Block a user