fix: adds done and publish options to document.update, this got taken out on accident during the switchover to ts (#2812)

This commit is contained in:
Nan Yu
2021-11-30 11:12:14 -08:00
committed by GitHub
parent e8aed2e6c9
commit d8d3e2bef2
2 changed files with 3 additions and 1 deletions

View File

@@ -305,6 +305,8 @@ export default class Document extends BaseModel {
},
{
lastRevision: options.lastRevision,
publish: options?.publish,
done: options?.done,
}
);
}

View File

@@ -11,7 +11,7 @@
"build": "yarn clean && yarn build:webpack && yarn build:i18n && yarn build:server",
"start": "node ./build/server/index.js",
"dev": "NODE_ENV=development yarn concurrently -n api,collaboration -c \"blue,magenta\" \"node --inspect=0.0.0.0 build/server/index.js --services=collaboration,websockets,admin,web,worker\"",
"dev:watch": "nodemon --exec \"yarn build:server && yarn build:i18n && yarn dev\" -e js --ignore build/ --ignore app/",
"dev:watch": "nodemon --exec \"yarn build:server && yarn build:i18n && yarn dev\" -e js,ts --ignore build/ --ignore app/",
"lint": "eslint app server shared",
"deploy": "git push heroku master",
"prepare": "yarn yarn-deduplicate yarn.lock",