mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 16:19:02 +02:00
Merge pull request #13427 from overleaf/em-td-websocket-invites
Fix disclosure of invites and invite tokens through the websocket GitOrigin-RevId: cf4925f4faeaaa9202055b52f32e5a80f313946a
This commit is contained in:
@@ -25,11 +25,13 @@ describe('EditorHttpController', function () {
|
||||
other_property: true,
|
||||
},
|
||||
members: [{ one: 1 }, { two: 2 }],
|
||||
invites: [{ three: 3 }, { four: 4 }],
|
||||
}
|
||||
this.reducedProjectView = {
|
||||
_id: this.projectView._id,
|
||||
owner: { _id: this.projectView.owner._id },
|
||||
members: [],
|
||||
invites: [],
|
||||
}
|
||||
this.doc = { _id: new ObjectId(), name: 'excellent-original-idea.tex' }
|
||||
this.file = { _id: new ObjectId() }
|
||||
|
||||
Reference in New Issue
Block a user