Modify create_location to return 'api_endpoints' (plural)
This commit is contained in:
parent
8e44280e7d
commit
91c2017759
@ -261,7 +261,7 @@ def api_create_location():
|
|||||||
session.commit()
|
session.commit()
|
||||||
print("committed")
|
print("committed")
|
||||||
|
|
||||||
return jsonify({'api_endpoint': f'/api/v1/location/name/{locname}'})
|
return jsonify({'api_endpoints': f'/api/v1/location/name/{locname}'})
|
||||||
|
|
||||||
|
|
||||||
@app.route("/api/v1/create_brand", methods=["POST"])
|
@app.route("/api/v1/create_brand", methods=["POST"])
|
||||||
|
Loading…
Reference in New Issue
Block a user