diff options
Diffstat (limited to 'opendc/api/v2/simulations/endpoint.py')
| -rw-r--r-- | opendc/api/v2/simulations/endpoint.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc/api/v2/simulations/endpoint.py b/opendc/api/v2/simulations/endpoint.py index 62257d40..232df2ff 100644 --- a/opendc/api/v2/simulations/endpoint.py +++ b/opendc/api/v2/simulations/endpoint.py @@ -20,6 +20,7 @@ def POST(request): simulation.set_property('datetimeCreated', Database.datetime_to_string(datetime.now())) simulation.set_property('datetimeLastEdited', Database.datetime_to_string(datetime.now())) simulation.set_property('topologyIds', [topology.obj['_id']]) + simulation.set_property('experimentIds', []) simulation.insert() user = User.from_google_id(request.google_id) |
