Skip to content

Commit 858c6c8

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
andcommitted
style: format axios calls according to prettier
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
1 parent 210b8de commit 858c6c8

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

price_service/client/js/src/PriceServiceConnection.ts

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)