Skip to content

Commit

Permalink
Merge pull request #623 from derbyjs/fix-page-render-args
Browse files Browse the repository at this point in the history
Remove vargs check as arg order switched to match client Page
  • Loading branch information
craigbeck authored Dec 1, 2023
2 parents 3fcb6b7 + 53d597a commit a79ca20
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/PageForServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ export class PageForServer<T = object> extends PageBase<T> {
}

render(ns?: string, status?: number) {
if (typeof status !== 'number') {
ns = status;
status = null;
}
this.app.emit('render', this);

if (status) this.res.statusCode = status;
Expand Down

0 comments on commit a79ca20

Please sign in to comment.