diff --git a/client/public/components/checkout.mjs b/client/public/components/checkout.mjs index 0c1ed68..5b7f096 100644 --- a/client/public/components/checkout.mjs +++ b/client/public/components/checkout.mjs @@ -91,7 +91,7 @@ class Checkout extends Component {
Discount - £-${parseFloat(this.state.discount).toFixed(2)} + -£${parseFloat(this.state.discount).toFixed(2)}
Total diff --git a/docs/API.md b/docs/API.md index 781d65b..f059d44 100644 --- a/docs/API.md +++ b/docs/API.md @@ -22,8 +22,8 @@ automatically every request | GET | /api/basket/price/ | | ❌ | | | GET | /api/discount/ | offer code | ❌ | | | GET | /api/auth/login/ | | ✔️ | | -| POST | /api/auth/order/ | | ✔️❌ | | -| GET | /api/auth/order/:id | | ✔️❌ | | +| POST | /api/auth/order/ | | ❌ | | +| GET | /api/auth/order/:id | | ❌ | Security By Obscurity | | GET | /api/auth/orders/ | | ✔️ | | Query endpoints do not return the full data on a brick/set, they return