diff --git a/lib/galaxy/web/api/histories.py b/lib/galaxy/web/api/histories.py index b46b89bc3c2..ffe3c5a3b7a 100644 --- a/lib/galaxy/web/api/histories.py +++ b/lib/galaxy/web/api/histories.py @@ -153,7 +153,7 @@ class HistoriesController( BaseAPIController, UsesHistory ): POST /api/histories/deleted/{encoded_quota_id}/undelete Undeletes a quota """ - history = self.get_history( trans, history_id, check_ownership=True, check_accessible=False, deleted=True ) + history = self.get_history( trans, id, check_ownership=True, check_accessible=False, deleted=True ) history.deleted = False trans.sa_session.add( history ) trans.sa_session.flush()