Skip to content

Commit

Permalink
cleanup error catching
Browse files Browse the repository at this point in the history
  • Loading branch information
jwetzell committed Jul 11, 2024
1 parent 1e404ba commit c2e9a34
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/server/src/api-data/rundown/rundown.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ export async function rundownBatchPut(req: Request, res: Response<MessageRespons
}

export async function rundownFrozenPost(req: Request, res: Response<MessageResponse | ErrorResponse>) {
if (failEmptyObjects(req.body, res)) {
return res.status(404);
}

try {
const { frozen } = req.body;
setFrozenState(frozen);
Expand Down

0 comments on commit c2e9a34

Please sign in to comment.