We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2618305 commit c02f76cCopy full SHA for c02f76c
modules/attack_report.go
@@ -895,6 +895,9 @@ func (r *Report) GetRuleHitList(request *http.Request) core.Response {
895
})
896
}
897
sort.Slice(file_data, func(i, j int) bool {
898
+ if file_data[i] == nil || file_data[j] == nil {
899
+ return false
900
+ }
901
return file_data[i]["timestimp"].(int64) > file_data[j]["timestimp"].(int64)
902
903
data2 := public.PaginateData(file_data, params.P, params.PSize)
0 commit comments