File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
firebase-firestore/src/main/java/com/google/firebase/firestore/local Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,9 @@ MutationBatch decodeMutationBatch(com.google.firebase.firestore.proto.WriteBatch
190
190
batch .getWrites (i ).hasUpdate (),
191
191
"TransformMutation should be preceded by a patch or set mutation" );
192
192
Builder newMutationBuilder = Write .newBuilder (currentMutation );
193
+ Write transformMutation = batch .getWrites (i + 1 );
193
194
for (FieldTransform fieldTransform :
194
- currentMutation .getTransform ().getFieldTransformsList ()) {
195
+ transformMutation .getTransform ().getFieldTransformsList ()) {
195
196
newMutationBuilder .addUpdateTransforms (fieldTransform );
196
197
}
197
198
mutations .add (rpcSerializer .decodeMutation (newMutationBuilder .build ()));
You can’t perform that action at this time.
0 commit comments