chore(trpc): type-safety cleanups across routers

This commit is contained in:
ephraimduncan
2026-08-15 13:49:02 +00:00
parent 688ef2fdf3
commit e7b66fe069
22 changed files with 1537 additions and 21 deletions
@@ -148,7 +148,7 @@ export const updateOrganisationMemberRoleRoute = adminProcedure
return;
}
const targetRole = role as OrganisationMemberRole;
const targetRole = role;
if (currentOrganisationRole === targetRole) {
throw new AppError(AppErrorCode.INVALID_REQUEST, {