bug fixing

This commit is contained in:
Sandro La Bruzzo 2021-04-27 12:13:44 +02:00
parent 233d849f90
commit 74484d2823
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ object PangaeaUtils {
val s:String = s"${new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS")format(d)}Z"
val ds = (json \ "internal-datestamp").extractOrElse[String](s)
val identifier= (json \ "metadatalink").extractOrElse[String]()
val identifier= (json \ "metadatalink").extractOrElse[String]("")
val xml= (json \ "xml").extract[String]
PangaeaDataModel(ds, identifier,xml)
}