diff --git a/src/server/api/routers/system.ts b/src/server/api/routers/system.ts index 04e7574f4..1957ba06b 100644 --- a/src/server/api/routers/system.ts +++ b/src/server/api/routers/system.ts @@ -57,7 +57,7 @@ export const systemRouter = createTRPCRouter({ message: 'Invalid password', }); } - return config.integrations; + return config.integrations ?? {}; }), testIntegration: publicProcedure