fix: simplify balance billing and govern operation logs
This commit is contained in:
@@ -92,8 +92,13 @@ export class AdminOperationsController {
|
||||
}
|
||||
|
||||
@Get('audit-logs')
|
||||
auditLogs(@Query('tenantId') tenantId?: string, @Query('userId') userId?: string) {
|
||||
return this.operations.auditLogs({ tenantId, userId });
|
||||
auditLogs(
|
||||
@Query('tenantId') tenantId?: string,
|
||||
@Query('userId') userId?: string,
|
||||
@Query('page') page?: string,
|
||||
@Query('pageSize') pageSize?: string,
|
||||
) {
|
||||
return this.operations.auditLogs({ tenantId, userId, page: Number(page), pageSize: Number(pageSize) });
|
||||
}
|
||||
|
||||
@Get('audit-summary')
|
||||
|
||||
Reference in New Issue
Block a user