Skip to content

Commit

Permalink
Added missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
SchawnnDev committed May 28, 2024
1 parent df1438b commit df35db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internals/handlers/export_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (e *ExportHandler) ExportFact(w http.ResponseWriter, r *http.Request) {
return
}

item, status := e.exportWrapper.AddToQueue(facts, request.Title, request.CSVParameters, userCtx.User, factParameters)
item, status := e.exportWrapper.AddToQueue(facts, request.Title, request.CSVParameters, userCtx.User, factParameters, true)

e.handleAddToQueueResponse(w, r, status, item)
}
Expand Down Expand Up @@ -444,7 +444,7 @@ func (e *ExportHandler) ExportCustom(w http.ResponseWriter, r *http.Request) {
}

item, status := e.exportWrapper.AddToQueueCustom(elastic.Name, &request.SearchRequest,
request.Indices, request.Title, request.CSVParameters, userCtx.User)
request.Indices, request.Title, request.CSVParameters, userCtx.User, true)

e.handleAddToQueueResponse(w, r, status, item)
}
Expand Down

0 comments on commit df35db9

Please sign in to comment.