From e086e3efbdfba73bae5bea7b8f13332f46a372f1 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Tue, 29 Aug 2023 17:42:05 +0300 Subject: [PATCH] docs: fix customer_id name in create endpoints docs (#4900) --- www/docs/content/development/endpoints/create.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/docs/content/development/endpoints/create.mdx b/www/docs/content/development/endpoints/create.mdx index 0005f7fa26..f2135696c7 100644 --- a/www/docs/content/development/endpoints/create.mdx +++ b/www/docs/content/development/endpoints/create.mdx @@ -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