Skip to content
Snippets Groups Projects
Commit d82b4def authored by Megan Henning's avatar Megan Henning
Browse files

Fix bug from Jobs refactor

parent d561a868
No related branches found
No related tags found
No related merge requests found
......@@ -360,7 +360,7 @@ def upgrade_to_12():
files.append(file_)
q = {'analyses._id': analysis['_id']}
u = {'$set': {'analyses.$.job': job._id, 'analyses.$.files': files}}
u = {'$set': {'analyses.$.job': job.id_, 'analyses.$.files': files}}
config.db.sessions.update_one(q, u)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment