mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
share stats dash
This commit is contained in:
committed by
Aiden McClelland
parent
2a7f1a6eb7
commit
3ebb8da7a9
@@ -24,7 +24,7 @@ export module RR {
|
||||
|
||||
// server
|
||||
|
||||
export type SetShareStatsReq = WithExpire<{ value: boolean }> // server.config.share_stats
|
||||
export type SetShareStatsReq = WithExpire<{ value: boolean }> // server.config.share-stats
|
||||
export type SetShareStatsRes = WithRevision<null>
|
||||
|
||||
export type GetServerLogsReq = { cursor?: string, before_flag?: boolean, limit?: number }
|
||||
|
||||
@@ -54,7 +54,7 @@ export class LiveApiService extends ApiService {
|
||||
// server
|
||||
|
||||
async setShareStatsRaw (params: RR.SetShareStatsReq): Promise<RR.SetShareStatsRes> {
|
||||
return this.http.rpcRequest( { method: 'server.config.share_stats', params })
|
||||
return this.http.rpcRequest( { method: 'server.config.share-stats', params })
|
||||
}
|
||||
|
||||
async getServerLogs (params: RR.GetServerLogsReq): Promise<RR.GetServerLogsRes> {
|
||||
|
||||
Reference in New Issue
Block a user