Closed russbiggs closed 4 years ago
I'm getting an error on /user/{user_id}/campaigns
:
File "/flask_project/campaign_manager/utilities.py", line 304, in get_data_from_s3
campaign_json['geojson'] = geojson
TypeError: list indices must be integers or slices, not str
The error I was getting was because I didn't have {user_id}.json
set up correctly with my projects in it. I set that file up correctly, and now this works for me.
Adds osm_id filtering based on user.json array