File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/bridge-status-controller/src Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -707,7 +707,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
707707 }
708708
709709 try {
710- const orderUid = bridgeTxMetaId . replace ( / ^ i n t e n t : / u, '' ) ;
710+ const orderId = bridgeTxMetaId . replace ( / ^ i n t e n t : / u, '' ) ;
711711 const { srcChainId } = historyItem . quote ;
712712
713713 // Extract provider name from order metadata or default to empty
@@ -718,7 +718,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
718718 this . #fetchFn,
719719 ) ;
720720 const intentOrder = await intentApi . getOrderStatus (
721- orderUid ,
721+ orderId ,
722722 providerName ,
723723 srcChainId . toString ( ) ,
724724 ) ;
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ export class IntentApiImpl implements IntentApi {
3535 }
3636
3737 async getOrderStatus (
38- orderUid : string ,
39- providerName : string ,
40- srcChainId : string ,
38+ orderId : string ,
39+ aggregatorId : string ,
40+ chainId : string ,
4141 ) : Promise < any > {
42- const endpoint = `${ this . baseUrl } /getOrderStatus?orderUid =${ orderUid } &providerName =${ encodeURIComponent ( providerName ) } &srcChainId =${ srcChainId } ` ;
42+ const endpoint = `${ this . baseUrl } /getOrderStatus?orderId =${ orderId } &aggregatorId =${ encodeURIComponent ( aggregatorId ) } &chainId =${ chainId } ` ;
4343 const response = ( await this . fetchFn ( endpoint , {
4444 method : 'GET' ,
4545 } ) ) as Response ;
You can’t perform that action at this time.
0 commit comments