LibreChat/api
Ruben Talstra faf349e0db
fix: Cosmos DB: E11000 duplicate key error
I’ve updated this PR to remove unique: true and sparse: true from the optional social login fields (googleId, facebookId, etc.) and switch them to simple indexes (index: true). This resolves the Cosmos DB “duplicate key” errors caused by multiple null values and ensures compatibility with both Cosmos DB and MongoDB. The email field remains required and unique, preserving overall identity uniqueness.
2025-02-12 19:22:37 +01:00
..
app 🪄 feat: Agent Artifacts (#5804) 2025-02-11 18:00:38 -05:00
cache feat: OAuth for Actions (#5693) 2025-02-10 15:56:08 -05:00
config feat: OAuth for Actions (#5693) 2025-02-10 15:56:08 -05:00
lib 🧹 chore: Remove Deprecated BingAI Code & Address Mobile Focus (#5565) 2025-01-30 17:22:29 -05:00
models fix: Cosmos DB: E11000 duplicate key error 2025-02-12 19:22:37 +01:00
server 🪄 feat: Agent Artifacts (#5804) 2025-02-11 18:00:38 -05:00
strategies fix: Cosmos DB: E11000 duplicate key error 2025-02-12 19:22:37 +01:00
test 🔄 refactor: Consolidate Tokenizer; Fix Jest Open Handles (#5175) 2025-01-03 18:11:14 -05:00
utils 🚀 fix: Resolve Google Client Issues, CDN Screenshots, Update Models (#5703) 2025-02-06 18:13:18 -05:00
jest.config.js fix: Enhance Test Coverage and Fix Compatibility Issues 👷‍♂️ (#1363) 2023-12-15 13:27:13 -05:00
jsconfig.json feat(api): initial Redis support; fix(SearchBar): proper debounce (#1039) 2023-10-11 17:05:47 -04:00
package.json v0.7.7-rc1 (#5801) 2025-02-11 11:45:07 -05:00
typedefs.js feat: OAuth for Actions (#5693) 2025-02-10 15:56:08 -05:00