aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/data_sources
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/src/data_sources')
-rw-r--r--packages/pipeline/src/data_sources/relayer-registry/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/data_sources/relayer-registry/index.ts b/packages/pipeline/src/data_sources/relayer-registry/index.ts
index c97b50d27..8199dae14 100644
--- a/packages/pipeline/src/data_sources/relayer-registry/index.ts
+++ b/packages/pipeline/src/data_sources/relayer-registry/index.ts
@@ -26,8 +26,8 @@ export class RelayerRegistrySource {
this._url = url;
}
- public async getRelayerInfoAsync(): Promise<RelayerResponse[]> {
- const resp = await axios.get<RelayerResponse[]>(this._url);
+ public async getRelayerInfoAsync(): Promise<Map<string, RelayerResponse>> {
+ const resp = await axios.get<Map<string, RelayerResponse>>(this._url);
return resp.data;
}
}