Skip to content

Commit 23cfc27

Browse files
committed
[importer_direct_upload] adding connector in snippet to remove the 'type' error
1 parent c5f3593 commit 23cfc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/libs/indexer/src/indexer/templates/importer.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2213,7 +2213,7 @@ ${ commonheader(_("Importer"), "indexer", user, request, "60px") | n,unicode }
22132213
wizard.computeSetDeferred.done(function () {
22142214
dataCatalog.getEntry({
22152215
compute: wizard.compute(),
2216-
connector: { id: self.sourceType }, // TODO: Use connectors in the importer
2216+
connector: { id: self.sourceType() }, // TODO: Use connectors in the importer
22172217
namespace: wizard.namespace(),
22182218
path: self.outputFormat() === 'table' ? [self.databaseName(), self.tableName()] : [],
22192219
}).then(function (catalogEntry) {

0 commit comments

Comments
 (0)