docs: fix customer_id name in create endpoints docs (#4900)

This commit is contained in:
Shahed Nasser
2023-08-29 17:42:05 +03:00
committed by GitHub
parent f75d9806f9
commit e086e3efbd

View File

@@ -267,7 +267,7 @@ router.get(
// authenticateCustomer()
async (req, res) => {
// access current customer
const id = req.user.customerId
const id = req.user.customer_id
// if you're using authenticateCustomer middleware
// check if id is set first