Merge pull request #7869 from overleaf/em-docstore-archive-lock

Add a lock around doc archiving

GitOrigin-RevId: eaf85dbc3b491edd15eeb2c1a84df3a2883fb61d
This commit is contained in:
Eric Mc Sween
2022-05-18 08:04:44 +00:00
committed by Copybot
parent 30b07f3d34
commit de4091f955
11 changed files with 115 additions and 93 deletions
@@ -35,7 +35,7 @@ describe('Getting A Doc from Archive', function () {
if (error) {
return done(error)
}
DocstoreClient.archiveDocById(
DocstoreClient.archiveDoc(
this.project_id,
this.doc._id,
(error, res) => {