mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-13 18:50:47 +02:00
fix export events incorrect header
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
1 parent
252e566475
commit
23072ca597
1 file changed
+3
-1
@@ -606,7 +606,8 @@ func (c *Campaign) ExportEventsAsCSV(g *gin.Context) {
|
||||
|
||||
headers := []string{
|
||||
"Created at",
|
||||
"Recipient name",
|
||||
"Recipient first name",
|
||||
"Recipient last name",
|
||||
"Recipient email",
|
||||
"Event name",
|
||||
"Event Details",
|
||||
@@ -625,6 +626,7 @@ func (c *Campaign) ExportEventsAsCSV(g *gin.Context) {
|
||||
utils.CSVFromDate(event.CreatedAt),
|
||||
"anonymized",
|
||||
"anonymized",
|
||||
"anonymized",
|
||||
utils.CSVRemoveFormulaStart(cache.EventNameByID[event.EventID.String()]),
|
||||
utils.CSVRemoveFormulaStart(event.Data.String()),
|
||||
utils.CSVRemoveFormulaStart(event.UserAgent.String()),
|
||||
|
||||
Reference in new issue
Block a user