Fixed mixed inclusion/exclusion projection that caused error: "Cannot do inclusion on field bills.proofOfPayment.uploadedAt in exclusion projection" Changed projection to use exclusion-only: - Exclude bills.attachment (not needed in upload context) - Exclude bills.proofOfPayment.fileContentsBase64 (large file data) - Include all other fields implicitly (including uploadedAt for existence check) This reduces data transfer while maintaining MongoDB projection compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
20 KiB
20 KiB