-
This commit is contained in:
parent
4b45532a59
commit
e2285cee08
2
app.py
2
app.py
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user