mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-15 14:42:38 +03:00
update metrics url
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.20.74-rc104",
|
||||
"version": "0.20.74-rc105",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
|
||||
@@ -11,7 +11,7 @@ export class FrontageService {
|
||||
}
|
||||
|
||||
readonly getAggregatedMetrics = () => {
|
||||
const url = new URL(`${this.apiUrl}api/v1/metrics/aggregated`);
|
||||
const url = new URL(`${this.apiUrl}/api/v1/metrics/aggregated`);
|
||||
return fetchWithValidation(
|
||||
url.toString(),
|
||||
aggregatedMetricsSchema,
|
||||
|
||||
Reference in New Issue
Block a user