refactor: replace deprecated unsable_concat with concat for trpc middlewares (#2991)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-05-01 10:08:41 +02:00
1 parent 547a8c34c5
commit 48aef9e862
23 files changed
+66 -70

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ export const calendarRouter = createTRPCRouter({
showUnmonitored: z.boolean(),
}),
)
.unstable_concat(createManyIntegrationMiddleware("query", ...getIntegrationKindsByCategory("calendar")))
.concat(createManyIntegrationMiddleware("query", ...getIntegrationKindsByCategory("calendar")))
.query(async ({ ctx, input }) => {
const results = await Promise.all(
ctx.integrations.map(async (integration) => {