From d98dc0da4735c3a433d908fcae151816e89706fa Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 24 May 2012 08:18:49 -0400 Subject: [PATCH] History API undelete bug pointed out by Ed Kirton. Resolves BB Issue #763. --- lib/galaxy/web/api/histories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()