Skip to content

Commit 2ccd18c

Browse files
committed
user id attribution
1 parent 5ad358c commit 2ccd18c

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/api/table/import-csv

1 file changed

+1
-1
lines changed

apps/sim/app/api/table/import-csv/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export async function POST(request: NextRequest) {
225225
const batch = coerced.slice(i, i + MAX_BATCH_SIZE)
226226
const batchRequestId = crypto.randomUUID().slice(0, 8)
227227
const result = await batchInsertRows(
228-
{ tableId: table.id, rows: batch, workspaceId },
228+
{ tableId: table.id, rows: batch, workspaceId, userId: authResult.userId },
229229
table,
230230
batchRequestId
231231
)

0 commit comments

Comments
 (0)