From 53d597ab2ba8c8f0bc34780e57003c6ebd548b80 Mon Sep 17 00:00:00 2001 From: Craig Beck Date: Thu, 30 Nov 2023 15:33:13 -0800 Subject: [PATCH] Remove vargs check as arg order switched to match client Page --- src/PageForServer.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/PageForServer.ts b/src/PageForServer.ts index 0e9d20b2..0a7bbe01 100644 --- a/src/PageForServer.ts +++ b/src/PageForServer.ts @@ -18,10 +18,6 @@ export class PageForServer extends PageBase { } render(ns?: string, status?: number) { - if (typeof status !== 'number') { - ns = status; - status = null; - } this.app.emit('render', this); if (status) this.res.statusCode = status;