From dbcf1e8e983ba4bda63ed8058573e1e0fff09cdb Mon Sep 17 00:00:00 2001 From: Oleg Zharkov Date: Mon, 6 Dec 2021 19:28:34 +0100 Subject: [PATCH] expose api to expose api anonymous --- lib/galaxy/webapps/galaxy/controllers/history.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/controllers/history.py b/lib/galaxy/webapps/galaxy/controllers/history.py index e6c8e95cef8..a3b046f12d2 100644 --- a/lib/galaxy/webapps/galaxy/controllers/history.py +++ b/lib/galaxy/webapps/galaxy/controllers/history.py @@ -30,7 +30,7 @@ from galaxy.util import ( unicodify ) from galaxy.web import ( - expose_api, + expose_api_anonymous, url_for ) from galaxy.web.framework.helpers import ( @@ -546,7 +546,7 @@ class HistoryController(BaseUIController, SharableMixin, UsesAnnotations, UsesIt 'template': html_template } - @expose_api + @expose_api_anonymous def view(self, trans, id=None, show_deleted=False, show_hidden=False, use_panels=True): """ View a history. If a history is importable, then it is viewable by any user.