Merge pull request #10888 from overleaf/bg-case-sensitive-delete

Make dropbox deletes case-sensitive

GitOrigin-RevId: 090112ce82e38f15079053952db4b0a1544e8300
This commit is contained in:
Brian Gough
2022-12-14 11:28:29 +00:00
committed by Copybot
parent e433acfc49
commit 2cc2da18a5
3 changed files with 19 additions and 2 deletions

View File

@@ -1163,7 +1163,7 @@ const ProjectEntityUpdateHandler = {
deleteEntityWithPath: wrapWithLock(
(projectId, path, userId, source, callback) =>
ProjectLocator.findElementByPath(
{ project_id: projectId, path },
{ project_id: projectId, path, exactCaseMatch: true },
(err, element, type) => {
if (err != null) {
return callback(err)