diff --git a/backend/dataall/modules/feed/api/types.py b/backend/dataall/modules/feed/api/types.py index d770dc908..35b03b0d2 100644 --- a/backend/dataall/modules/feed/api/types.py +++ b/backend/dataall/modules/feed/api/types.py @@ -1,5 +1,5 @@ from dataall.base.api import gql -from dataall.modules.feed.api.resolvers import resolve_feed_target_type, resolve_messages, resolve_target +from dataall.modules.feed.api.resolvers import resolve_feed_target_type, resolve_messages from dataall.modules.feed.api.registry import FeedRegistry @@ -14,7 +14,6 @@ fields=[ gql.Field(name='feedTargetUri', type=gql.NonNullableType(gql.String)), gql.Field(name='feedTargetType', type=gql.NonNullableType(gql.String)), - gql.Field(name='target', resolver=resolve_target, type=gql.Ref('FeedTarget')), gql.Field( name='messages', args=[gql.Argument(name='filter', type=gql.Ref('FeedMessageFilter'))], diff --git a/frontend/src/services/graphql/Feed/listFeedMessages.js b/frontend/src/services/graphql/Feed/listFeedMessages.js index be7691374..7af1e1cd7 100644 --- a/frontend/src/services/graphql/Feed/listFeedMessages.js +++ b/frontend/src/services/graphql/Feed/listFeedMessages.js @@ -13,24 +13,6 @@ export const listFeedMessages = ({ targetUri, targetType, filter }) => ({ $filter: FeedMessageFilter ) { getFeed(targetUri: $targetUri, targetType: $targetType) { - target { - __typename - ... on DatasetTable { - label - } - ... on Dataset { - label - } - ... on DatasetStorageLocation { - label - } - ... on Dashboard { - label - } - ... on DataPipeline { - label - } - } messages(filter: $filter) { count hasNext