This commit is contained in:
Mateusz779 2023-04-19 10:17:13 +02:00
parent 4b45532a59
commit e2285cee08

2
app.py
View File

@ -168,7 +168,7 @@ def get_image():
@app.route("/api/release_allocation", methods=['POST']) @app.route("/api/release_allocation", methods=['POST'])
def release_allocation(): def release_allocation():
try: try:
id_allocation = db.get_conf_id_name(request.headers['name']) id_allocation = db.get_conf_id_name(request.headers['name']+".squashfs")
if id_allocation is None or id_allocation == "": if id_allocation is None or id_allocation == "":
return jsonify(message="400") return jsonify(message="400")
except: except: