mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 07:03:37 -05:00
[Router] _handleError: ol_context.doc_id does not exist, drop overwrite
This commit is contained in:
parent
c7b9dadd16
commit
fd88819eec
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ let Router
|
||||||
module.exports = Router = {
|
module.exports = Router = {
|
||||||
_handleError(callback, error, client, method, attrs) {
|
_handleError(callback, error, client, method, attrs) {
|
||||||
attrs = attrs || {}
|
attrs = attrs || {}
|
||||||
for (const key of ['project_id', 'doc_id', 'user_id']) {
|
for (const key of ['project_id', 'user_id']) {
|
||||||
attrs[key] = client.ol_context[key]
|
attrs[key] = client.ol_context[key]
|
||||||
}
|
}
|
||||||
attrs.client_id = client.id
|
attrs.client_id = client.id
|
||||||
|
|
Loading…
Reference in a new issue