Skip to content

Commit

Permalink
Merge pull request #7 from zylcom/order-controller
Browse files Browse the repository at this point in the history
Update order-controller.js
  • Loading branch information
zylcom authored Aug 2, 2023
2 parents 1bb5456 + f1c179d commit 23722f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/order-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const checkout = async (req, res, next) => {
try {
const request = {
userId: req.user.id,
orderId: req.query.orderId,
orderId: req.query.id,
username: req.user.username,
};

Expand Down

0 comments on commit 23722f4

Please sign in to comment.