From 244abd64aac2ff7f4a440b14cba0d92b8b00cd6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Mon, 19 Jun 2023 18:51:06 +0200 Subject: [PATCH] fix: api fetch store info --- tools/upend_js/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/upend_js/api.ts b/tools/upend_js/api.ts index 9589e18..434f98c 100644 --- a/tools/upend_js/api.ts +++ b/tools/upend_js/api.ts @@ -179,7 +179,7 @@ export class UpEndApi { } public async fetchStoreInfo(): Promise<{ [key: string]: StoreInfo }> { - const response = await fetch(`${this.apiUrl}/store`); + const response = await fetch(`${this.apiUrl}/stats/store`); const result = await response.json(); dbg("Store info: %O"); return await result;