Skip to content

Commit

Permalink
replaced url in operation history
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridel1e committed Mar 1, 2024
1 parent e3a3886 commit bf61980
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import {
switchMap,
} from 'rxjs';

import { applicationConfig } from '../../../../applicationConfig';
import { AmmPool } from '../../../../common/models/AmmPool';
import { TxId } from '../../../../common/types';
import { cardanoNetworkData } from '../../utils/cardanoNetworkData.ts';
import { getAddresses } from '../addresses/addresses';
import { allAmmPools$ } from '../ammPools/ammPools';
import { CardanoAmmPool } from '../ammPools/CardanoAmmPool.ts';
Expand Down Expand Up @@ -64,7 +64,7 @@ export const mempoolRawOperations$: Observable<RawOperationItem[]> =
exhaustMap((addresses) =>
from(
axios.post(
`${applicationConfig.networksSettings.cardano.analyticUrl}history/mempool`,
`${cardanoNetworkData.analyticUrl}history/mempool`,
uniq(
addresses.map((a) => extractPaymentCred(a, RustModule.CardanoWasm)),
),
Expand Down Expand Up @@ -92,7 +92,7 @@ const getRawOperationsHistory = (
): Observable<[RawOperationItem[], number]> =>
from(
axios.post<{ order: RawOperationItem[]; count: number }>(
`${applicationConfig.networksSettings.cardano.analyticUrl}history/order?limit=${limit}&offset=${offset}&entityTypeFilter=AnyCFMMOps`,
`${cardanoNetworkData.analyticUrl}history/order?limit=${limit}&offset=${offset}&entityTypeFilter=AnyCFMMOps`,
uniq(addresses.map((a) => extractPaymentCred(a, RustModule.CardanoWasm))),
),
).pipe(
Expand Down Expand Up @@ -208,7 +208,7 @@ const registeredOrdersCount$: Observable<{
liquidityOps: boolean;
tradeOps: boolean;
}>(
`${applicationConfig.networksSettings.cardano.analyticUrl}history/stuck`,
`${cardanoNetworkData.analyticUrl}history/stuck`,
uniq(
addresses.map((a) => extractPaymentCred(a, RustModule.CardanoWasm)),
),
Expand Down

0 comments on commit bf61980

Please sign in to comment.