anything-llm/server
Johnny Chen c4158b97d6
bugfix: API new user return 400 if user creation failed ()
* 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
..
endpoints bugfix: API new user return 400 if user creation failed () 2024-07-19 15:27:21 -07:00
jobs Update bgworker to use fork instead of worker_thread () 2024-07-03 11:44:34 -07:00
models Extend support for some chars in slugify of workspace () 2024-07-18 10:35:02 -07:00
prisma [FEAT] Remove users_can_delete_workspaces feature () 2024-06-25 16:46:06 -07:00
storage 1173 dynamic cache openrouter () 2024-04-23 11:10:54 -07:00
swagger [FEAT] Remove users_can_delete_workspaces feature () 2024-06-25 16:46:06 -07:00
utils Bump perplexity models () 2024-07-19 15:11:10 -07:00
.env.example [FEAT] Generic OpenAI embedding provider () 2024-06-21 16:27:02 -07:00
.flowconfig devcontainer v1 () 2024-01-08 15:31:06 -08:00
.gitignore Patch WSS upgrade for manual HTTPS certs () 2024-05-17 14:03:25 -07:00
.nvmrc Implement Chroma Support () 2023-06-07 21:31:35 -07:00
index.js Add winston logging for production () 2024-07-03 16:39:33 -07:00
jsconfig.json devcontainer v1 () 2024-01-08 15:31:06 -08:00
nodemon.json Full developer api () 2023-08-23 19:15:07 -07:00
package.json Docker image updates () 2024-07-19 08:09:32 -07:00
yarn.lock Docker image updates () 2024-07-19 08:09:32 -07:00