Skip to content

Commit

Permalink
Merge pull request #18680 from jmchilton/restore_tool_shed_sessionles…
Browse files Browse the repository at this point in the history
…s_apis

[23.1] Fix toolshed sessionless access to a few APIs broken with..
  • Loading branch information
mvdbeek authored Sep 27, 2024
2 parents 80c55eb + 7f4bb4f commit d474492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tool_shed/webapp/api/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __get_value_mapper(self, trans):
value_mapper = {"id": trans.security.encode_id}
return value_mapper

@web.expose_api_anonymous
@web.expose_api_anonymous_and_sessionless
def index(self, trans, deleted=False, **kwd):
"""
GET /api/users
Expand All @@ -86,7 +86,7 @@ def index(self, trans, deleted=False, **kwd):
user_dicts.append(user_dict)
return user_dicts

@web.expose_api_anonymous
@web.expose_api_anonymous_and_sessionless
def show(self, trans, id, **kwd):
"""
GET /api/users/{encoded_user_id}
Expand Down

0 comments on commit d474492

Please sign in to comment.