Skip to content

Commit e448942

Browse files
committed
fe
1 parent 20f736e commit e448942

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Minio-SQL-connector/config.template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ module.exports = {
1212
subscribe: {
1313
all: true,
1414
buckets: []
15-
}
15+
},
16+
ownerInfoEndpoint: "https://platform.beopendep.it/api/owner"
1617
},
1718
postgreConfig: {
1819
user: '',
@@ -27,7 +28,6 @@ module.exports = {
2728
delays : 1,
2829
queryAllowedExtensions : ["csv", "json", "geojson"],
2930
parseCompatibilityMode : 0,
30-
ownerInfoEndpoint: "https://platform.beopendep.it/api/owner",
3131
mongo: "mongodb://localhost:27017/Minio-Mongo", // mongo url
3232
authConfig: {
3333
idmHost: "https://platform.beopendep.it/auth",

Minio-SQL-connector/utils/minioWriter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ module.exports = {
212212
data = JSON.stringify(data)
213213
let owner
214214
try{
215-
owner = (await axios.get(config.ownerInfoEndpoint+"/createdBy?filePath=" + queryName + "&etag=" + record.etag)).data
215+
owner = (await axios.get(config.minioConfig.ownerInfoEndpoint+"/createdBy?filePath=" + queryName + "&etag=" + record.etag)).data
216216
}
217217
catch (error) {
218218
logger.error("Error getting owner")

0 commit comments

Comments
 (0)