We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb0b52 commit 586613bCopy full SHA for 586613b
server/index.py
@@ -19,12 +19,12 @@ def get_property_mapping(property_id):
19
return jsonify(mapping)
20
return jsonify({'error': 'Property not found'})
21
22
-@app.route('/search/items/<label>')
+@app.route('/search/items/<path:label>')
23
def get_items(label):
24
results = search_items(label)
25
return jsonify(results)
26
27
-@app.route('/search/properties/<label>')
+@app.route('/search/properties/<path:label>')
28
def get_properties(label):
29
results = search_properties(label)
30
0 commit comments