Skip to content

Commit

Permalink
test: Test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Halibao-Lala committed Feb 6, 2025
1 parent aa983b1 commit 230e24f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export function useTransferConfig() {
axios.get<{ data: ICBridgeTransferConfig }>(`${env.SERVER_ENDPOINT}/api/bridge/v2/cbridge`),
axios.get<{ data: IDeBridgeTransferConfig }>(
`${env.SERVER_ENDPOINT}/api/bridge/v2/debridge`,
{ timeout: 1000 },
),
axios.get<{ data: IStargateTransferConfig }>(
`${env.SERVER_ENDPOINT}/api/bridge/v2/stargate`,
Expand Down
3 changes: 2 additions & 1 deletion packages/canonical-bridge-sdk/src/adapters/deBridge/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export class DeBridge {
async createTxQuote(urlParams: any) {
return (
await this.client!.get<IDeBridgeCreateQuoteResponse>(
`/dln/order/create-tx?${urlParams.toString()}`
`/dln/order/create-tx?${urlParams.toString()}`,
{ timeout: 1000 }
)
).data;
}
Expand Down

0 comments on commit 230e24f

Please sign in to comment.