mirror of
https://github.com/rowyio/rowy.git
synced 2026-07-13 05:48:53 +02:00
add objectID
This commit is contained in:
@@ -128,7 +128,7 @@ const syncDocOnUpdate = (config: {
|
||||
return syncSubCollection(
|
||||
targetPath,
|
||||
snapshotField,
|
||||
afterData,
|
||||
{ ...afterData, objectID: snapshot.after.ref.id },
|
||||
snapshot.after
|
||||
);
|
||||
|
||||
@@ -137,7 +137,7 @@ const syncDocOnUpdate = (config: {
|
||||
targetPath,
|
||||
isArray,
|
||||
snapshotField,
|
||||
afterData,
|
||||
{ ...afterData, objectID: snapshot.after.ref.id },
|
||||
snapshot.after
|
||||
);
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user