fix: photo upload issues with file limit and date formatting
- Add 20-file limit validation to PhotoUpload component - Prevent Multer "Unexpected field" errors by enforcing client-side limit - Fix JSON parsing error in dateFormatter when value is already an object - Add missing translation keys for upload error messages - Handle both string and object values for date format settings These fixes resolve the 400 error when uploading more than 20 files and the "Unexpected token o in JSON" error during email queue creation. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 450 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 390 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 412 KiB |
Reference in New Issue
Block a user