Skip to content

Commit 4107c14

Browse files
committed
remove unnecessary comment
1 parent 19b48f5 commit 4107c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/customerController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const getCustomerById = async (req, res) => {
1818
}
1919
};
2020
const addCustomer = async (req, res) => {
21-
let customer; // Declare customer variable outside try block for later use in catch block
21+
let customer;
2222
try {
2323
const { customer: addCustomer, tickets } = req.body;
2424
customer = await customerService.add_customer(addCustomer);

0 commit comments

Comments
 (0)