Fix 403 error in notification preferences and profile updates
- Handle both Clerk ID and database ID in authorization checks - Compare Clerk IDs when URL parameter is a Clerk ID (user_xxx) - Convert Clerk ID to database ID for service layer operations - Apply fix to both updateNotificationPreferences and updateUserProfile endpoints
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
- Add profile editing functionality
|
||||
- _Requirements: 6.3, 6.4, 6.5_
|
||||
|
||||
- [-] 16. Implement notification preferences
|
||||
- [x] 16. Implement notification preferences
|
||||
- Create notification settings interface
|
||||
- Build area of interest selector with map
|
||||
- Implement radius configuration (1-50km)
|
||||
|
||||
Reference in New Issue
Block a user