Skip to content

Commit

Permalink
Fix community trpc route breaking on invalid community id
Browse files Browse the repository at this point in the history
  • Loading branch information
mzparacha committed Aug 22, 2024
1 parent 33605d8 commit 7f310e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/schemas/src/queries/community.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const GetCommunity = {
id: z.string(),
include_node_info: z.boolean().optional(),
}),
output: ExtendedCommunity,
output: z.union([ExtendedCommunity, z.undefined()]),
};

export const GetCommunityStake = {
Expand Down

0 comments on commit 7f310e2

Please sign in to comment.