Skip to content

Commit

Permalink
fix: nil-pointer panic in ToCnqueryProto
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Jan 10, 2025
1 parent f5aaceb commit 155240f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/reporter/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (r *Report) ToCnqueryReport() *cr.Report {
}
for mid, value := range data.Values {
report.Data[id].Values[mid] = &cr.DataValue{
Content: value.Content,
Content: value.GetContent(),
}
}
}
Expand Down

0 comments on commit 155240f

Please sign in to comment.