mirror of
				https://github.com/optim-enterprises-bv/databunker.git
				synced 2025-10-31 09:57:46 +00:00 
			
		
		
		
	refactor audit code
This commit is contained in:
		| @@ -53,6 +53,12 @@ func (event auditEvent) submit(db dbcon) { | ||||
| 	if len(event.Who) > 0 { | ||||
| 		bdoc["who"] = event.Who | ||||
| 	} | ||||
| 	if len(event.Mode) > 0 { | ||||
| 		bdoc["mode"] = event.Mode | ||||
| 	} | ||||
| 	if len(event.Identity) > 0 { | ||||
| 		bdoc["identity"] = event.Identity | ||||
| 	} | ||||
| 	if len(event.Record) > 0 { | ||||
| 		bdoc["record"] = event.Record | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stremovsky
					stremovsky