Skip to content

Commit a69d529

Browse files
committed
add sharedbRequest
1 parent 9e2f746 commit a69d529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function hook(method, pattern, fn) {
5050

5151
if (method === 'update') {
5252
if (shareRequest.collection !== pattern) return next()
53-
fn(docName, snapshot.data, shareRequest.originalSnapshot && shareRequest.originalSnapshot.data, session, backend);
53+
fn(docName, snapshot.data, shareRequest.originalSnapshot && shareRequest.originalSnapshot.data, session, backend, shareRequest);
5454
return next()
5555
}
5656
if (opData.del || opData.create) {

0 commit comments

Comments
 (0)