Skip to content

Commit

Permalink
Comment about exposing raw_measurement in probe-engine
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jan 11, 2021
1 parent 581f87c commit e521c70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/database/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func GetMeasurementJSON(sess sqlbuilder.Database, measurementID int64) (map[stri
return nil, err
}
if measurement.IsUploaded {
// TODO this should be a function exposed by probe-engine
reportID := measurement.Measurement.ReportID.String
url := measurement.URL.URL.String
measurementURL := fmt.Sprintf("https://api.ooni.io/api/v1/raw_measurement?report_id=%s", reportID)
Expand Down

0 comments on commit e521c70

Please sign in to comment.