Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 3ce91ac4 authored by 65160024's avatar 65160024
Browse files

update index.js

parent 399debb2
No related branches found
No related tags found
No related merge requests found
......@@ -377,7 +377,7 @@ app.post("/confirm-loan", (req, res) => {
// Route สำหรับยืนยันการยืม
app.post('/submit-loan', (req, res) => {
app.post('/confirm-loan', (req, res) => {
const user_id = req.user.id; // สมมติว่าผู้ใช้ล็อกอินแล้ว
const equipment_id = req.body.equipment_id;
const quantity = req.body.quantity;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment