Skip to content

Commit

Permalink
removed unnecessary line breaks from clusterController find one clust…
Browse files Browse the repository at this point in the history
…er function
  • Loading branch information
ydahal1 committed Dec 5, 2024
1 parent 1b457c4 commit bb9e8d9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Tombolo/server/controllers/clusterController.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,7 @@ const getCluster = async (req, res) => {
// Get one cluster by id
const cluster = await Cluster.findOne({
where: { id: req.params.id },
attributes: {
exclude: ["hash"],

},
attributes: { exclude: ["hash"] },
});
if (!cluster) throw new CustomError("Cluster not found", 404);
res.status(200).json({ success: true, data: cluster });
Expand Down

0 comments on commit bb9e8d9

Please sign in to comment.