Don't error out on missing report

This commit is contained in:
Eli Ribble 2026-04-29 20:24:41 +00:00
parent 7e79308868
commit c6cb645453
No known key found for this signature in database
2 changed files with 30 additions and 33 deletions

View file

@ -53,9 +53,6 @@ func GenerateReportID() (string, error) {
return builder.String(), nil
}
func PublicReportByID(ctx context.Context, report_id string, is_public bool) (*types.PublicReport, error) {
return publicreport.ByID(ctx, report_id, is_public)
}
func PublicReportByIDCompliance(ctx context.Context, report_id string, is_public bool) (*types.PublicReportCompliance, error) {
result, err := publicreport.ByIDCompliance(ctx, report_id, is_public)
if err != nil {