docs: fix customer_id name in create endpoints docs (#4900)
This commit is contained in:
1 parent
f75d9806f9
commit
e086e3efbd
1 file changed
+1
-1
@@ -267,7 +267,7 @@ router.get(
|
|||||||
// authenticateCustomer()
|
// authenticateCustomer()
|
||||||
async (req, res) => {
|
async (req, res) => {
|
||||||
// access current customer
|
// access current customer
|
||||||
const id = req.user.customerId
|
const id = req.user.customer_id
|
||||||
// if you're using authenticateCustomer middleware
|
// if you're using authenticateCustomer middleware
|
||||||
// check if id is set first
|
// check if id is set first
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user