mirror of https://github.com/kortix-ai/suna.git
fix: get back removed fn
This commit is contained in:
parent
8b6d9c0903
commit
6eb889e50a
|
@ -1048,6 +1048,10 @@ export const updateThread = async (threadId: string, data: Partial<Thread>): Pro
|
|||
return updatedThread;
|
||||
};
|
||||
|
||||
export const toggleThreadPublicStatus = async (threadId: string, isPublic: boolean): Promise<Thread> => {
|
||||
return updateThread(threadId, { is_public: isPublic });
|
||||
};
|
||||
|
||||
// Function to get public projects
|
||||
export const getPublicProjects = async (): Promise<Project[]> => {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue