don't prefix report id with namespace

parent 01985e58
Pipeline #19764 passed with stages
in 7 minutes and 18 seconds
......@@ -65,7 +65,7 @@ object App extends scala.App with Logging with RecordUtils {
record => {
val headers = record.headers()
val reportingObject = recordProcessor.process(record).foldLeft(
ReportingObject(s"https://memobase.ch/record/${record.key()}"))((reportingObject, outcome) => outcome match {
ReportingObject(record.key))((reportingObject, outcome) => outcome match {
case ProcessSuccess(id, resource, msg) =>
logger.info(s"$id: $msg")
ReportingObject.addResourceOutcome(reportingObject, (resource, msg), ProcessingSuccess)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment