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
@@ -138,7 +138,7 @@ export const updateTeamSettingsRoute = authenticatedProcedure
if (brandingCss === null) {
sanitizedBrandingCss = null;
} else if (typeof brandingCss === 'string') {
} else if (brandingCss !== undefined) {
const result = sanitizeBrandingCss(brandingCss);
sanitizedBrandingCss = result.css.trim() === '' ? null : result.css;
cssWarnings = result.warnings;