Skip to content
Snippets Groups Projects
Commit aeb1d994 authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

Fix job key error

parent f52ed841
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,7 @@ class Job(base.RequestHandler):
self.abort(404, 'Mutating job from ' + job['state'] + ' to ' + mutation['state'] + ' not allowed.')
# Any modification must be a timestamp update
mutation['timestamp'] = datetime.datetime.now()
mutation['modified'] = datetime.datetime.now()
# REVIEW: is this atomic?
# As far as I can tell, update_one vs find_one_and_update differ only in what they return.
......
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