Skip to content

Commit

Permalink
add includeUnlisted to FilterProjectQueryInputParams
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadPCh committed Dec 9, 2024
1 parent 795e035 commit e89c1ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/resolvers/projectResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ class GetProjectsArgs {

@Field(_type => String, { nullable: true })
qfRoundSlug?: string;

@Field({ nullable: true })
includeUnlisted?: boolean;
}

@ObjectType()
Expand Down Expand Up @@ -740,6 +743,7 @@ export class ProjectResolver {
campaignSlug,
qfRoundId,
qfRoundSlug,
includeUnlisted,
}: GetProjectsArgs,
@Ctx() { req: { user }, projectsFiltersThreadPool }: ApolloContext,
): Promise<AllProjects> {
Expand All @@ -766,6 +770,7 @@ export class ProjectResolver {
qfRoundId,
qfRoundSlug,
activeQfRoundId,
includeUnlisted,
};
let campaign;
if (campaignSlug) {
Expand Down

0 comments on commit e89c1ea

Please sign in to comment.