mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-09 13:30:04 +00:00
refactor(convert-to-csv): change func arguments
This commit is contained in:
@@ -18,7 +18,7 @@ export async function uploadTables(
|
||||
const uploadedFiles = []
|
||||
|
||||
for (const tableName in data) {
|
||||
const csv = convertToCSV(data[tableName])
|
||||
const csv = convertToCSV(data, tableName)
|
||||
if (csv === 'ERROR: LARGE STRING LENGTH') {
|
||||
throw new Error(
|
||||
'The max length of a string value in SASjs is 32765 characters.'
|
||||
|
||||
Reference in New Issue
Block a user