Add versioning support to collaboration features and API calls
- Adjust logic in socket responses to handle versioning for comments and threads.
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
let url_Backend_dwinzo = `http://${process.env.REACT_APP_SERVER_REST_API_BASE_URL}`;
|
||||
// let url_Backend_dwinzo = `http://192.168.0.102:5000`;
|
||||
|
||||
export const deleteThreadApi = async (projectId: string, threadId: string) => {
|
||||
export const deleteThreadApi = async (
|
||||
projectId: string,
|
||||
threadId: string,
|
||||
versionId: string
|
||||
) => {
|
||||
const body: any = {
|
||||
projectId,
|
||||
threadId,
|
||||
versionId,
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user