Unverified Commit c324b076 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

quickfix for removing transaction id

parent 125c0f7e
Pipeline #14338 passed with stages
in 14 minutes and 14 seconds
......@@ -77,7 +77,8 @@ object BinaryResourceMetadata {
val instantiation = Instantiation(v("type").str)
BinaryResourceMetadata(
v("@id").str.substring(s"$baseUrl/digital/".length),
v("locator").str,
// FIXME: Quickfix
v("locator").str.replaceAll("tx:[^/]+/", ""),
if (instantiation == Thumbnail) {JpegFile} else {Conversions.getMediaFileType(v("hasMimeType").str).get},
instantiation,
eventType)
......
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