Skip to content

Commit

Permalink
Fixed issue in zod type
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Jun 4, 2024
1 parent 3f61dbe commit 18090bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
/.idea
/.vscode
/.env

# Backup file
.env.backup
2 changes: 1 addition & 1 deletion src/controllers/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const ProjectStats = z.object({
pr_total_attestations: nullableIntType,
org_flags: orgCountTuplesTypes,
org_vouches: orgCountTuplesTypes,
uniq_orgs: z.array(z.string()),
uniq_orgs: z.array(z.string()).nullable(),
});

export type ProjectStats = z.infer<typeof ProjectStats>;

0 comments on commit 18090bc

Please sign in to comment.