Skip to content

Commit

Permalink
fixed try catch error
Browse files Browse the repository at this point in the history
  • Loading branch information
adhi0331 committed Jun 16, 2024
1 parent 5310409 commit 508047c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/controllers/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const getProgram: RequestHandler = async (req, res, next) => {
}

res.status(200).json(program);
catch (error) {
} catch (error) {
next(error);
}
};
Expand Down

0 comments on commit 508047c

Please sign in to comment.