KI-AGENT: Importiere Export in bestehenden Zielmandanten
This commit is contained in:
@@ -140,7 +140,10 @@ const importTenantExport = async (event: Event) => {
|
||||
try {
|
||||
const rawContent = await file.text()
|
||||
const exportData = JSON.parse(rawContent)
|
||||
const result = await admin.importTenant(exportData)
|
||||
const result = await admin.importTenant({
|
||||
exportData,
|
||||
targetTenantId: tenantForm.value?.id || tenantId,
|
||||
})
|
||||
const rowCount = (result.tables || []).reduce((sum, table) => sum + table.rows, 0)
|
||||
|
||||
lastImportResult.value = {
|
||||
|
||||
Reference in New Issue
Block a user