style: прогнать prettier по frontend
This commit is contained in:
@@ -14,7 +14,9 @@ export function dashboardSummaryApi(): AxiosPromise<DashboardSummaryVo> {
|
||||
});
|
||||
}
|
||||
|
||||
export function dashboardTimeseriesApi(range = "24h"): AxiosPromise<DashboardTimeseriesVo> {
|
||||
export function dashboardTimeseriesApi(
|
||||
range = "24h"
|
||||
): AxiosPromise<DashboardTimeseriesVo> {
|
||||
return request({
|
||||
url: "/dashboard/timeseries",
|
||||
method: "get",
|
||||
@@ -22,7 +24,10 @@ export function dashboardTimeseriesApi(range = "24h"): AxiosPromise<DashboardTim
|
||||
});
|
||||
}
|
||||
|
||||
export function dashboardTopPeersApi(range = "24h", limit = 10): AxiosPromise<DashboardTopPeerVo[]> {
|
||||
export function dashboardTopPeersApi(
|
||||
range = "24h",
|
||||
limit = 10
|
||||
): AxiosPromise<DashboardTopPeerVo[]> {
|
||||
return request({
|
||||
url: "/dashboard/top-peers",
|
||||
method: "get",
|
||||
@@ -36,4 +41,3 @@ export function dashboardSecurityApi(): AxiosPromise<SecurityRiskVo[]> {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -69,4 +69,3 @@ export interface DashboardTopPeerVo {
|
||||
upload: number;
|
||||
total: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user