mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
This reverts commit 34ab7e4ea6dd1b5fd749f9accaf4a6e16ae1d840. GitOrigin-RevId: 005de52bcacbacf62d22cd8617d7a765f56bd72e
This commit is contained in:
committed by
Copybot
parent
4a3a0752a4
commit
f5b894bc2e
@@ -212,14 +212,11 @@ function acceptChanges(projectId, docId, changeIds, callback) {
|
||||
)
|
||||
}
|
||||
|
||||
function deleteThread(projectId, docId, threadId, userId, callback) {
|
||||
function deleteThread(projectId, docId, threadId, callback) {
|
||||
_makeRequest(
|
||||
{
|
||||
path: `/project/${projectId}/doc/${docId}/comment/${threadId}`,
|
||||
method: 'DELETE',
|
||||
json: {
|
||||
user_id: userId,
|
||||
},
|
||||
},
|
||||
projectId,
|
||||
'delete-thread',
|
||||
|
||||
@@ -766,7 +766,6 @@ describe('DocumentUpdaterHandler', function () {
|
||||
this.project_id,
|
||||
this.doc_id,
|
||||
this.thread_id,
|
||||
this.user_id,
|
||||
this.callback
|
||||
)
|
||||
})
|
||||
@@ -797,7 +796,6 @@ describe('DocumentUpdaterHandler', function () {
|
||||
this.project_id,
|
||||
this.doc_id,
|
||||
this.thread_id,
|
||||
this.user_id,
|
||||
this.callback
|
||||
)
|
||||
})
|
||||
@@ -816,7 +814,6 @@ describe('DocumentUpdaterHandler', function () {
|
||||
this.project_id,
|
||||
this.doc_id,
|
||||
this.thread_id,
|
||||
this.user_id,
|
||||
this.callback
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user