Fix bulk CSV processing and improve user registration
- Fix bulk CSV upload functionality that was returning HTML errors - Implement proper project/organization handling for logged-in vs anonymous users - Update user registration to create unique Default Organization and Default Project - Fix frontend API URL configuration for bulk upload endpoints - Resolve foreign key constraint violations in bulk processing - Update BulkProcessorService to use in-memory processing instead of Redis - Fix redirect-tracker service to handle missing project IDs properly - Update Prisma schema for optional project relationships in bulk jobs - Improve registration form UI with better password validation and alignment
This commit is contained in:
3
apps/api/dist/services/auth.service.js
vendored
3
apps/api/dist/services/auth.service.js
vendored
@@ -131,7 +131,7 @@ class AuthService {
|
||||
});
|
||||
const organization = await tx.organization.create({
|
||||
data: {
|
||||
name: organizationName || `${name}'s Organization`,
|
||||
name: organizationName || `Default Organization`,
|
||||
plan: 'free',
|
||||
}
|
||||
});
|
||||
@@ -149,6 +149,7 @@ class AuthService {
|
||||
settingsJson: {
|
||||
description: 'Default project for redirect tracking',
|
||||
defaultMethod: 'GET',
|
||||
createdBy: user.id,
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user