Refactor collaboration APIs to include versionId in relevant functions and clean up commented code

This commit is contained in:
2025-06-24 12:21:12 +05:30
parent 3fe52e3e7c
commit a562a51025
8 changed files with 26 additions and 28 deletions

View File

@@ -4,12 +4,14 @@ let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_UR
export const editThreadTitleApi = async (
projectId: string,
threadId: string,
threadTitle: string
threadTitle: string,
versionId?: string
) => {
const body: any = {
projectId,
threadId,
threadTitle,
versionId,
};
try {