Fix custom object requests pending (#2240)
* Fix custom object requests pending * fix typo
This commit is contained in:
@ -107,7 +107,7 @@ export class TenantInitialisationService {
|
||||
dataSourceMetadata.id,
|
||||
);
|
||||
|
||||
const worksapceDataSource =
|
||||
const workspaceDataSource =
|
||||
await this.dataSourceService.connectToWorkspaceDataSource(workspaceId);
|
||||
|
||||
for (const object of objects) {
|
||||
@ -123,7 +123,7 @@ export class TenantInitialisationService {
|
||||
Object.values(field.targetColumnMap),
|
||||
);
|
||||
|
||||
worksapceDataSource
|
||||
await workspaceDataSource
|
||||
?.createQueryBuilder()
|
||||
.insert()
|
||||
.into(`${dataSourceMetadata.schema}.${object.targetTableName}`, columns)
|
||||
|
||||
Reference in New Issue
Block a user