mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
[document-updater] adopt strict zod types and extend test coverage (#36077)
* [document-updater] adopt strict zod types and extend test coverage * [saas-e2e] add test for project restore with binary and linked file GitOrigin-RevId: a8e45bd1e46b6ac8a293da24c8b8ad7b236fd9bd
This commit is contained in:
@@ -237,10 +237,10 @@ module.exports = DocUpdaterClient = {
|
||||
)
|
||||
},
|
||||
|
||||
async sendProjectUpdate(projectId, userId, updates, version) {
|
||||
async sendProjectUpdate(projectId, userId, updates, version, source) {
|
||||
await fetchNothing(`http://127.0.0.1:3003/project/${projectId}`, {
|
||||
method: 'POST',
|
||||
json: { userId, updates, version },
|
||||
json: { userId, updates, version, source },
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user