Fix build issue

This commit is contained in:
Aleksandr Kraiz
2022-05-19 01:15:31 +04:00
parent 80067abfc9
commit 9205f4cd63
3 changed files with 5 additions and 9 deletions

View File

@@ -113,7 +113,6 @@ export default class OrionUnit {
const oaWsProtocol = oaUrl.protocol === 'https:' ? 'wss' : 'ws';
const orionAggregatorWsUrl = `${oaWsProtocol}://${oaUrl.host + (oaUrl.pathname === '/' ? '' : oaUrl.pathname)}/v1`;
this.orionAggregator = new OrionAggregator(
chainId,
options?.services?.orionAggregator?.api ?? `${options?.api ?? apiUrl}/backend`,
orionAggregatorWsUrl,
);