From d647f882b179bdaba8311717563d83fddc52a3dd Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 30 Sep 2025 07:14:10 +0200 Subject: Pass mergeParams: true to new router calls due to express behavior change --- src/api/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/Server.ts') diff --git a/src/api/Server.ts b/src/api/Server.ts index 30797869..f04e1d4b 100644 --- a/src/api/Server.ts +++ b/src/api/Server.ts @@ -109,7 +109,7 @@ export class SpacebarServer extends Server { this.app.use(BodyParser({ inflate: true, limit: "10mb" })); const app = this.app; - const api = Router(); + const api = Router({ mergeParams: true }); // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore this.app = api; -- cgit 1.5.1