Skip to content

Commit

Permalink
put back in the space here
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Jul 29, 2024
1 parent 66afa08 commit c4e9d9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ const defaultRouteHandler: RequestHandler<{}, {}, z.infer<typeof DefaultRouteReq
if (!step) {
throw new Error('no step');
}

const handler = Object.prototype.hasOwnProperty.call(steps, step) && steps[step];
if (!handler) {
throw new Error(`invalid step ${step}`);
Expand Down

0 comments on commit c4e9d9c

Please sign in to comment.