diff --git a/src/schema/v2/CollectorProfile/collectorProfile.ts b/src/schema/v2/CollectorProfile/collectorProfile.ts index 6deae3e384..48fc8032cb 100644 --- a/src/schema/v2/CollectorProfile/collectorProfile.ts +++ b/src/schema/v2/CollectorProfile/collectorProfile.ts @@ -212,12 +212,8 @@ export const CollectorProfileFields: GraphQLFieldConfigMap< }, isProfileComplete: { type: GraphQLBoolean, - resolve: ({ icon, name, location, profession, other_relevant_positions }) => - !!icon && - !!name && - !!location?.display && - !!profession && - !!other_relevant_positions, + resolve: ({ icon, name, location, profession }) => + !!icon && !!name && !!location?.display && !!profession, }, summarySentence: { type: new GraphQLNonNull(GraphQLString), diff --git a/src/schema/v2/me/__tests__/collector_profile.test.js b/src/schema/v2/me/__tests__/collector_profile.test.js index fad38d7768..b78d7b0b4d 100644 --- a/src/schema/v2/me/__tests__/collector_profile.test.js +++ b/src/schema/v2/me/__tests__/collector_profile.test.js @@ -89,7 +89,6 @@ describe("Me", () => { display: "Berlin", }, profession: "coder", - other_relevant_positions: "other typer", } const context = { @@ -122,8 +121,6 @@ describe("Me", () => { display: "Berlin", }, profession: "", - other_relevant_positions: "no one knows", - bio: "¯\\_(ツ)_//¯", } const context = {