anything-llm/server/endpoints
Johnny Chen c4158b97d6
bugfix: API new user return 400 if user creation failed (#1898)
* return 400 if user creation failed

The client might not check the error field unless they realize it's a 4xx error instead of 200 success.

* Update index.js

* use one-liner style

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-07-19 15:27:21 -07:00
..
api bugfix: API new user return 400 if user creation failed (#1898) 2024-07-19 15:27:21 -07:00
embed Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00
experimental [BETA] Live document sync (#1719) 2024-06-21 13:38:50 -07:00
extensions [FEAT] Website depth scraping data connector (#1191) 2024-05-14 12:49:14 -07:00
admin.js [FEAT] Remove users_can_delete_workspaces feature (#1742) 2024-06-25 16:46:06 -07:00
agentWebsocket.js Add LMStudio agent support (generic) support (#1246) 2024-05-07 16:35:47 -07:00
chat.js patch: Auto thread renaming (#1636) 2024-06-07 17:12:54 -07:00
document.js repatch path normalization (#1516) 2024-05-23 12:52:04 -07:00
embedManagement.js [FEAT] Automated audit logging (#667) 2024-02-06 15:21:40 -08:00
invite.js [FEAT] Automated audit logging (#667) 2024-02-06 15:21:40 -08:00
system.js Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00
utils.js chore: silence getGitVersion for docker env runtime 2024-07-03 11:50:31 -07:00
workspaces.js [FEAT] Ability to delete messages from conversation history (#1812) 2024-07-03 18:28:08 -07:00
workspaceThreads.js Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00