Fix for missing return

This commit is contained in:
Greg 2021-09-22 14:15:40 -06:00
parent 71b26452d5
commit f8cef29f59
2 changed files with 2 additions and 2 deletions

View File

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

View File

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