You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-30 18:05:34 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			329 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			329 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import * as api from "./base";
 | |
| import type { AuditLog } from "./models";
 | |
| 
 | |
| export type AuditLogExpansion = "user";
 | |
| 
 | |
| export async function getAuditLogs(expand?: AuditLogExpansion[], params = {}): Promise<AuditLog[]> {
 | |
| 	return await api.get({
 | |
| 		url: "/audit-log",
 | |
| 		params: {
 | |
| 			expand: expand?.join(","),
 | |
| 			...params,
 | |
| 		},
 | |
| 	});
 | |
| }
 |