fix: api fetch store info
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
83317ff951
commit
244abd64aa
|
@ -179,7 +179,7 @@ export class UpEndApi {
|
||||||
}
|
}
|
||||||
|
|
||||||
public async fetchStoreInfo(): Promise<{ [key: string]: StoreInfo }> {
|
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();
|
const result = await response.json();
|
||||||
dbg("Store info: %O");
|
dbg("Store info: %O");
|
||||||
return await result;
|
return await result;
|
||||||
|
|
Loading…
Reference in New Issue