Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4a90cd9

Browse files
committed
F
1 parent 053a00a commit 4a90cd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/components/orderList.jsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function getList() {
2323

2424
// API POST call to update orders
2525
function orderUpdate(orderId) {
26-
return fetch(`/bc-api/v2/orders/${orderId}`, {
26+
return fetch(`/bc-api/v2/orders/${orderId}/`, {
2727
method: "PUT",
2828
headers: {
2929
"Content-Type": "application/json",
@@ -34,7 +34,7 @@ function orderUpdate(orderId) {
3434

3535
// API DELETE call to delete orders
3636
function orderDelete(orderId) {
37-
return fetch(`/bc-api/v2/orders/${orderId}`, {
37+
return fetch(`/bc-api/v2/orders/${orderId}/`, {
3838
method: "DELETE",
3939
headers: {
4040
"Content-Type": "application/json",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /