mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-11 01:10:11 +01:00
make thread name 'Thread' when new thread is created
This commit is contained in:
parent
0055de86e3
commit
d003613bb1
@ -8,7 +8,7 @@ const WorkspaceThread = {
|
|||||||
try {
|
try {
|
||||||
const thread = await prisma.workspace_threads.create({
|
const thread = await prisma.workspace_threads.create({
|
||||||
data: {
|
data: {
|
||||||
name: "New thread",
|
name: "Thread",
|
||||||
slug: uuidv4(),
|
slug: uuidv4(),
|
||||||
user_id: userId ? Number(userId) : null,
|
user_id: userId ? Number(userId) : null,
|
||||||
workspace_id: workspace.id,
|
workspace_id: workspace.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user