anything-llm/server/endpoints/api
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
..
admin bugfix: API new user return 400 if user creation failed (#1898) 2024-07-19 15:27:21 -07:00
auth Full developer api (#221) 2023-08-23 19:15:07 -07:00
document Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00
openai Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00
system Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00
userManagement Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00
workspace Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00
workspaceThread Add winston logging for production (#1811) 2024-07-03 16:39:33 -07:00
index.js Add OpenAI compatible API support (#1757) 2024-06-24 18:28:21 -07:00