Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 134cc1ca authored by 65160270's avatar 65160270
Browse files

update-address

parent 0f18f2ed
Branches
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ router.get('/detail/:orderId', isAuthenticated, async (req, res) => { ...@@ -77,7 +77,7 @@ router.get('/detail/:orderId', isAuthenticated, async (req, res) => {
}); });
// อัปเดตที่อยู่จัดส่งของคำสั่งซื้อ // อัปเดตที่อยู่จัดส่งของคำสั่งซื้อ
router.put('/update/:orderId', async (req, res) => { router.put('/detail/:orderId', async (req, res) => {
try { try {
const { orderId } = req.params; const { orderId } = req.params;
const { shipping_address } = req.body; const { shipping_address } = req.body;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment