diff --git a/backend/src/schema/types/schema.gql b/backend/src/schema/types/schema.gql index 492dd3966..82c02ab7e 100644 --- a/backend/src/schema/types/schema.gql +++ b/backend/src/schema/types/schema.gql @@ -134,5 +134,5 @@ type SharedInboxEndpoint { type SocialMedia { id: ID! url: String - ownedBy: [User]! @relation(name: "OWNED", direction: "IN") + ownedBy: [User]! @relation(name: "OWNED_BY", direction: "IN") } diff --git a/backend/src/schema/types/type/User.gql b/backend/src/schema/types/type/User.gql index 81bf3e782..75afa9cdf 100644 --- a/backend/src/schema/types/type/User.gql +++ b/backend/src/schema/types/type/User.gql @@ -17,7 +17,6 @@ type User { location: Location @cypher(statement: "MATCH (this)-[:IS_IN]->(l:Location) RETURN l") locationName: String about: String - socialMedia: [SocialMedia]! @relation(name: "OWNED", direction: "OUT") #createdAt: DateTime #updatedAt: DateTime