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