Spaces:
Build error
Build error
Update app.py
Browse files372 unmodified lines373374375376377378379372 unmodified lines return "warehouse name not found"
data = make_api_request(apis[0]["url"], apis[0]["params"]) print(data) if data: # Extracting the id for the warehouse with the name "WH" warehouse_id = next((item['id'] for item in data['result'] if item['name'] == warehouse_name), None)app.py+1