Skip to content

Commit

Permalink
Merge pull request #8964 from hicommonwealth/malik.8962.fix-community…
Browse files Browse the repository at this point in the history
…-trpc-route-breaking

Fixed community trpc route breaking on invalid community id
  • Loading branch information
jnaviask authored Aug 26, 2024
2 parents 0dcaca9 + 7f310e2 commit 0b2bfef
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 @@ -73,7 +73,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 0b2bfef

Please sign in to comment.