Skip to content

Commit 437a68b

Browse files
committed
refactor: update method visibility in SystemService
- Changed method visibility for getStats, getBandwidthStats, and getNodesStatistics to public for better accessibility.
1 parent c39e403 commit 437a68b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/modules/system/system.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class SystemService {
3535
private readonly logger = new Logger(SystemService.name);
3636
constructor(private readonly queryBus: QueryBus) {}
3737

38-
async getStats(): Promise<ICommandResponse<any>> {
38+
public async getStats(): Promise<ICommandResponse<any>> {
3939
try {
4040
const userStats = await this.getShortUserStats();
4141

@@ -77,7 +77,7 @@ export class SystemService {
7777
}
7878
}
7979

80-
async getBandwidthStats(
80+
public async getBandwidthStats(
8181
query: GetStatsRequestQueryDto,
8282
): Promise<ICommandResponse<GetBandwidthStatsResponseModel>> {
8383
try {
@@ -110,7 +110,7 @@ export class SystemService {
110110
}
111111
}
112112

113-
async getNodesStatistics(): Promise<ICommandResponse<GetNodesStatisticsResponseModel>> {
113+
public async getNodesStatistics(): Promise<ICommandResponse<GetNodesStatisticsResponseModel>> {
114114
try {
115115
const lastSevenDaysStats = await this.getLastSevenDaysNodesUsage();
116116

0 commit comments

Comments
 (0)