fix(typo): correct spelling of organization in error message (#26035)

Co-authored-by: Rajiv Sahal <[email protected]>
Co-authored-by: Dhairyashil Shinde <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-12-20 00:16:18 +00:00
1 parent aebfd4919b
commit dd8477c0bf
1 file changed
+1 -1
@@ -41,7 +41,7 @@ export const updateUserHandler = async ({ ctx, input }: UpdateUserOptions) => {
const { id: userId, organizationId } = user;
if (!organizationId)
throw new TRPCError({ code: "UNAUTHORIZED", message: "You must be a member of an organizaiton" });
throw new TRPCError({ code: "UNAUTHORIZED", message: "You must be a member of an organization" });
// Is requested user a member of the organization?
const requestedMember = await prisma.membership.findFirst({