Commit f1e96df4 authored by Alberto Nale's avatar Alberto Nale
Browse files

Fixed avro file and added enterprise logic

parent 896cf20f
......@@ -136,7 +136,7 @@ public class AvroExportJob extends AbstractExportJob {
try {
Class<?> type = dsMeta.getFieldType(i);
if (isDate(type)) {
value = dateFormatter.parse((String) value).getTime();
value = dateFormatter.parse(value.toString()).getTime();
} else if (isTimestamp(type)) {
value = DatabaseUtils.timestampFormatter(value);
......
......@@ -193,7 +193,7 @@
async loadDataset(datasetId: Number) {
this.loading = true
await this.$http
.get(process.env.VUE_APP_RESTFUL_SERVICES_PATH + `1.0/datasets/id/${datasetId}`, { headers: { Accept: 'text/html' } })
.get(process.env.VUE_APP_RESTFUL_SERVICES_PATH + `1.0/datasets/dataset/id/${datasetId}`)
.then((response: AxiosResponse<any>) => {
this.selectedDataset = response.data[0]
})
......
Supports Markdown
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