little note for myself

Former-commit-id: 46a236e05d878d1e50b9eccc6a34b281eef7a460
This commit is contained in:
Ben
2022-04-28 00:01:59 +01:00
parent 9a0b516712
commit ac1599a664
2 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ class Checkout extends Component {
</div>
<div class="checkout-summary-prices-row discount-row" style="display: ${this.state.discount > 0 ? 'flex;' : 'none;'}">
<span class="checkout-summary-prices-row-label">Discount</span>
<span class="checkout-summary-prices-row-value">£-${parseFloat(this.state.discount).toFixed(2)}</span>
<span class="checkout-summary-prices-row-value">-£${parseFloat(this.state.discount).toFixed(2)}</span>
</div>
<div class="checkout-summary-prices-row">
<span class="checkout-summary-prices-row-label">Total</span>

View File

@@ -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