active
PaidBy field in expense logging is case-sensitive and causes broken balances when multiple users log expenses with different name formats (e.g. "giulia", "Giulia", "giuliatomas" all treated as separate payers).
Fix needed:
- Normalize PaidBy to lowercase or canonical username on write
- OR match case-insensitively when reading/calculating balances
- Map common aliases to canonical account (e.g. giulia, Giulia, giuliatomas → @giuliatomas)
Context: Discovered during Uzbekistan trip when Youssef and Giulia were both logging expenses independently.
project · Fayrouzbackendbugexpensesmulti-usernormalization