diff --git a/lib/galaxy/webapps/galaxy/api/visualizations.py b/lib/galaxy/webapps/galaxy/api/visualizations.py index 6fdba09f3358..8dfeda25bfce 100644 --- a/lib/galaxy/webapps/galaxy/api/visualizations.py +++ b/lib/galaxy/webapps/galaxy/api/visualizations.py @@ -24,7 +24,7 @@ from galaxy.managers.context import ProvidesUserContext from galaxy.model.base import transaction from galaxy.model.item_attrs import UsesAnnotations -from galaxy.schema.fields import DecodedDatabaseIdField +from galaxy.schema.fields import EncodedDatabaseIdField, DecodedDatabaseIdField from galaxy.schema.schema import ( SetSlugPayload, ShareWithPayload, @@ -124,7 +124,7 @@ async def index( deleted: bool = DeletedQueryParam, limit: Optional[int] = LimitQueryParam, offset: Optional[int] = OffsetQueryParam, - user_id: Optional[DecodedDatabaseIdField] = UserIdQueryParam, + user_id: Optional[EncodedDatabaseIdField] = UserIdQueryParam, show_own: bool = ShowOwnQueryParam, show_published: bool = ShowPublishedQueryParam, show_shared: bool = ShowSharedQueryParam,