File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed
price_service/client/js/src Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -194,11 +194,14 @@ export class PriceServiceConnection {
194194 priceId : HexString ,
195195 publishTime : EpochTimeStamp
196196 ) : Promise < [ string , EpochTimeStamp ] > {
197- const response = await this . httpClient . get ( `/v2/updates/price/${ publishTime } ` , {
198- params : {
199- id : priceId ,
200- } ,
201- } ) ;
197+ const response = await this . httpClient . get (
198+ `/v2/updates/price/${ publishTime } ` ,
199+ {
200+ params : {
201+ id : priceId ,
202+ } ,
203+ }
204+ ) ;
202205 return [ response . data . vaa , response . data . publishTime ] ;
203206 }
204207
@@ -218,13 +221,16 @@ export class PriceServiceConnection {
218221 priceId : HexString ,
219222 publishTime : EpochTimeStamp
220223 ) : Promise < PriceFeed > {
221- const response = await this . httpClient . get ( `/v2/updates/price/${ publishTime } ` , {
222- params : {
223- id : priceId ,
224- verbose : this . priceFeedRequestConfig . verbose ,
225- binary : this . priceFeedRequestConfig . binary ,
226- } ,
227- } ) ;
224+ const response = await this . httpClient . get (
225+ `/v2/updates/price/${ publishTime } ` ,
226+ {
227+ params : {
228+ id : priceId ,
229+ verbose : this . priceFeedRequestConfig . verbose ,
230+ binary : this . priceFeedRequestConfig . binary ,
231+ } ,
232+ }
233+ ) ;
228234
229235 return PriceFeed . fromJson ( response . data ) ;
230236 }
You can’t perform that action at this time.
0 commit comments