Fix for missing return
This commit is contained in:
parent
71b26452d5
commit
f8cef29f59
|
@ -31,7 +31,7 @@ const couponsApi = {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
path: 'coupons',
|
path: 'coupons',
|
||||||
responseCode: 200,
|
responseCode: 200,
|
||||||
coupons: async () => { getRequest( 'coupons' ) },
|
coupons: async () => getRequest( 'coupons' ),
|
||||||
},
|
},
|
||||||
update: {
|
update: {
|
||||||
name: 'Update a coupon',
|
name: 'Update a coupon',
|
||||||
|
|
|
@ -31,7 +31,7 @@ const ordersApi = {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
path: 'orders',
|
path: 'orders',
|
||||||
responseCode: 200,
|
responseCode: 200,
|
||||||
orders: async () => { getRequest( 'orders' ) },
|
orders: async () => getRequest( 'orders' ),
|
||||||
},
|
},
|
||||||
update: {
|
update: {
|
||||||
name: 'Update an order',
|
name: 'Update an order',
|
||||||
|
|
Loading…
Reference in New Issue