Skip to content

Commit 1083ff8

Browse files
committed
[frontend] fix typo in ShippingGateway
1 parent 0a1ad08 commit 1083ff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frontend/gateways/rpc/Shipping.gateway.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { SHIPPING_SERVICE_ADDR = '' } = process.env;
88

99
const client = new ShippingServiceClient(SHIPPING_SERVICE_ADDR, ChannelCredentials.createInsecure());
1010

11-
const AdGateway = () => ({
11+
const ShippingGateway = () => ({
1212
getShippingCost(itemList: CartItem[], address: Address) {
1313
return new Promise<GetQuoteResponse>((resolve, reject) =>
1414
client.getQuote({ items: itemList, address: address }, (error, response) =>
@@ -18,4 +18,4 @@ const AdGateway = () => ({
1818
},
1919
});
2020

21-
export default AdGateway();
21+
export default ShippingGateway();

0 commit comments

Comments
 (0)