Fix EOI generation and interest update authentication
- Make Address field optional in EOI document generation with "Not Provided" default
- Accept both x-tag headers ("094ut234" and "pjnvü1230") for interest updates
- Update required fields validation to exclude Address
- Improve error messages to guide users on updating missing fields
This commit is contained in:
@@ -17,10 +17,18 @@
|
||||
- Prevented unnecessary email fetches when no session exists
|
||||
|
||||
### 3. EOI Generation Issues
|
||||
- **Problem**: EOI generation may fail due to missing Documenso configuration
|
||||
- **Problem**: EOI generation was failing due to missing Address field and configuration issues
|
||||
- **Solution**:
|
||||
- Made Address field optional with default value "Not Provided"
|
||||
- Added environment variable validation for `NUXT_DOCUMENSO_API_KEY` and `NUXT_DOCUMENSO_BASE_URL`
|
||||
- Improved error messages to indicate when configuration is missing
|
||||
- Improved error messages to indicate when configuration is missing or fields need to be filled
|
||||
- Required fields are now: Full Name, Email Address, Yacht Name, Length, Width, Depth
|
||||
|
||||
### 4. Interest Save Failures
|
||||
- **Problem**: Interest updates were failing with authentication errors
|
||||
- **Solution**:
|
||||
- Updated `update-interest.ts` API to accept both x-tag headers ("094ut234" and "pjnvü1230")
|
||||
- Now both authenticated and unauthenticated users can save interest updates
|
||||
|
||||
## Required Environment Variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user