Skip to content

Commit

Permalink
fixing quick bug (mitre#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hunt authored Aug 29, 2019
1 parent 3fa170e commit d984507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/service/agent_svc.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def save_results(self, link_id, output, status):
:param status:
:return: a JSON status message
"""
await self.get_service('data_svc').create('core_result', result=dict(link_id=link_id, output=output))
await self.get_service('data_svc').create('core_result', dict(link_id=link_id, output=output))
await self.get_service('data_svc').update('core_chain', key='id', value=link_id,
data=dict(status=int(status),
finish=self.get_current_timestamp()))
Expand Down

0 comments on commit d984507

Please sign in to comment.