Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 8da276f1 authored by 65160270's avatar 65160270
Browse files

update-address

parent 05dc6b11
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ router.get('/history', isAuthenticated, async (req, res) => { ...@@ -43,7 +43,7 @@ router.get('/history', isAuthenticated, async (req, res) => {
}); });
// อัปเดตที่อยู่จัดส่งของคำสั่งซื้อ // อัปเดตที่อยู่จัดส่งของคำสั่งซื้อ
router.put('/update/:orderId', async (req, res) => { router.get('/update/: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