diff --git a/src/resolvers/projectResolver.ts b/src/resolvers/projectResolver.ts index e9740260d..051683924 100644 --- a/src/resolvers/projectResolver.ts +++ b/src/resolvers/projectResolver.ts @@ -268,6 +268,9 @@ class GetProjectsArgs { @Field(_type => String, { nullable: true }) qfRoundSlug?: string; + + @Field({ nullable: true }) + includeUnlisted?: boolean; } @ObjectType() @@ -740,6 +743,7 @@ export class ProjectResolver { campaignSlug, qfRoundId, qfRoundSlug, + includeUnlisted, }: GetProjectsArgs, @Ctx() { req: { user }, projectsFiltersThreadPool }: ApolloContext, ): Promise { @@ -766,6 +770,7 @@ export class ProjectResolver { qfRoundId, qfRoundSlug, activeQfRoundId, + includeUnlisted, }; let campaign; if (campaignSlug) {