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

View File

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