mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix history_contents API adding the HDA to the history twice (resulting in skipped hids)
This commit is contained in:
@@ -95,7 +95,6 @@ class HistoryContentsController( BaseAPIController, UsesHistoryDatasetAssociatio
|
||||
except Exception, e:
|
||||
return str( e )
|
||||
hda = ld.library_dataset_dataset_association.to_history_dataset_association( history, add_to_history=True )
|
||||
history.add_dataset( hda )
|
||||
trans.sa_session.flush()
|
||||
return hda.get_api_value()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user