update metrics url

This commit is contained in:
TheJuze
2024-03-19 17:41:56 +03:00
parent edc3586166
commit c9cd52159a
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -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,